Don't use abbreviated long options

"function --argument" is not a thing, it's "--argument-names". This only
accidentally works because our getopt is awful and allows abbreviated
long options.

Similarly, one argparse test used "--d" instead of "-d" or "--def".
This commit is contained in:
Fabian Homborg
2020-09-19 11:39:51 +02:00
parent 21077c0c9a
commit a3e20a4d38
13 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
function __fish_print_help --description "Print help message for the specified fish function or builtin" --argument item error_message
function __fish_print_help --description "Print help message for the specified fish function or builtin" --argument-names item error_message
switch $item
case .
set item source