fish-shell/sphinx_doc_src/cmds
Fabian Homborg 8c9359fdd4 src/builtin_argparse: Add --ignore-unknown flag
This keeps all unknown options in $argv, so

```fish
argparse -i a/alpha -- -a banana -o val -w
```

results in $_flag_a set to banana, and $argv set to `-o val -w`.

This allows users to use multiple argparse passes, or to simply avoid
specifying all options e.g. in completions - `systemctl` has 46 of
them, most not having any effect on the completions.

Fixes #5367.
2019-04-29 15:57:56 +02:00
..
abbr.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
alias.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
and.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
argparse.rst src/builtin_argparse: Add --ignore-unknown flag 2019-04-29 15:57:56 +02:00
begin.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
bg.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
bind.rst docs/bind: Document path-component and word 2019-04-26 19:23:24 +02:00
block.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
break.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
breakpoint.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
builtin.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
case.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
cd.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
cdh.rst docs: More command labels 2019-03-31 11:28:13 +02:00
command.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
commandline.rst docs: Reword commandline -f 2019-04-06 20:39:16 +02:00
complete.rst docs: More references 2019-03-31 11:48:35 +02:00
contains.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
continue.rst docs: Use more command labels 2019-03-31 11:24:04 +02:00
count.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
dirh.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
dirs.rst docs: Use more command labels 2019-03-31 11:24:04 +02:00
disown.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
echo.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
else.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
emit.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
end.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
eval.rst Variables as commands are in fact supported, eval docs should not claim otherwise. (#5819) 2019-04-26 15:30:13 +02:00
exec.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
exit.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
false.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fg.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish.rst Add print-rusage-self to fish 2019-04-10 14:33:45 -07:00
fish_breakpoint_prompt.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_config.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_git_prompt.rst docs: update the VCS prompt function documentation 2019-04-11 23:51:47 +08:00
fish_hg_prompt.rst docs: update the VCS prompt function documentation 2019-04-11 23:51:47 +08:00
fish_indent.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_key_reader.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_mode_prompt.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_opt.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
fish_prompt.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_right_prompt.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_svn_prompt.rst docs: update the VCS prompt function documentation 2019-04-11 23:51:47 +08:00
fish_update_completions.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
fish_vcs_prompt.rst docs: update the VCS prompt function documentation 2019-04-11 23:51:47 +08:00
for.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
funced.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
funcsave.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
function.rst docs: Use command labels 2019-03-31 11:15:57 +02:00
functions.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
help.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
history.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
if.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
isatty.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
jobs.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
math.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
nextd.rst docs: More command labels 2019-03-31 11:28:13 +02:00
not.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
open.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
or.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
popd.rst docs: More command labels 2019-03-31 11:28:13 +02:00
prevd.rst docs: More command labels 2019-03-31 11:28:13 +02:00
printf.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
prompt_pwd.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
psub.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
pushd.rst docs: More command labels 2019-03-31 11:28:13 +02:00
pwd.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
random.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
read.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
realpath.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
return.rst docs: Use more command labels 2019-03-31 11:24:04 +02:00
set.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
set_color.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
source.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
status.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
string.rst docs: Remove <asis> markup 2019-04-26 19:25:30 +02:00
suspend.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
switch.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
test.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
trap.rst docs: Fix remaining references 2019-03-31 11:35:02 +02:00
true.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
type.rst docs: Another bit of dehtml-izing 2019-03-31 12:00:27 +02:00
ulimit.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
umask.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
vared.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
wait.rst docs: Add labels to all commands 2019-03-31 11:05:33 +02:00
while.rst docs: Use more command labels 2019-03-31 11:24:04 +02:00