mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user