From 64c8d4c2652e155c5633703be84bf125621c6f4d Mon Sep 17 00:00:00 2001 From: ogaclejapan Date: Tue, 30 Jan 2018 08:16:04 +0900 Subject: [PATCH] Fix typo that invalid options in argparse --- doc_src/argparse.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/argparse.txt b/doc_src/argparse.txt index af0c62ba2..d210c1689 100644 --- a/doc_src/argparse.txt +++ b/doc_src/argparse.txt @@ -34,7 +34,7 @@ The following `argparse` options are available. They must appear before all OPTI Using this command involves passing two sets of arguments separated by `--`. The first set consists of one or more option specifications (`OPTION_SPEC` above) and options that modify the behavior of `argparse`. These must be listed before the `--` argument. The second set are the arguments to be parsed in accordance with the option specifications. They occur after the `--` argument and can be empty. More about this below but here is a simple example that might be used in a function named `my_function`: \fish -argparse --name=my_function 'h/help' 'n/name:' -- $argv +argparse --name=my_function 'h/help' 'n/name=' -- $argv or return \endfish