Improve completions for serve

This commit is contained in:
Twinkle 2018-07-24 11:27:17 +08:00 committed by ridiculousfish
parent 06cd4dc66f
commit 8440d9ba86

View file

@ -5,3 +5,5 @@ complete -x -c serve -l version -s v -d "Displays the current version of serve"
complete -x -c serve -l listen -s l -d "Specify a URI endpoint on which to listen" complete -x -c serve -l listen -s l -d "Specify a URI endpoint on which to listen"
complete -x -c serve -l debug -s d -d "Show debugging information" complete -x -c serve -l debug -s d -d "Show debugging information"
complete -x -c serve -l single -s s -d "Rewrite all not-found requests to `index.html`" complete -x -c serve -l single -s s -d "Rewrite all not-found requests to `index.html`"
complete -x -c serve -l config -s c -d "Specify custom path to `serve.json`"
complete -x -c serve -l no-clipboard -s n -d "Do not copy the local address to the clipboard"