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

@@ -3,7 +3,7 @@
# with description $argv[2] if defined, otherwise use 'Directory'.
# If no arguments are provided, attempts to complete current commandline token.
#
function __fish_complete_directories -d "Complete directory prefixes" --argument comp desc
function __fish_complete_directories -d "Complete directory prefixes" --argument-names comp desc
if not set -q desc[1]
set desc Directory
end