fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
9367d4ff7
master
1# Generated by hand from <http://www.catb.org/~esr/src/src.html> as of src 1.26. 2 3# TODO?: add short synonyms like ci, am 4# TODO: extract tag/branch names and feed to -a for tag delete, branch delete, rename 5 6complete -c src -f -n __fish_use_subcommand -a help -d'Displays help for commands' 7complete -c src -f -n'__fish_seen_subcommand_from help' -a'intro revisions commands commit amend checkout cat status log list diff fast-export fast-import ignores' 8 9complete -c src -n __fish_use_subcommand -a commit -d'Enters a commit for the specified files' 10complete -c src -x -n'__fish_seen_subcommand_from commit' -s m -d'Enter commit message as a string' 11complete -c src -r -n'__fish_seen_subcommand_from commit' -s f -d'Enter file containing commit message' 12complete -c src -n'__fish_seen_subcommand_from commit' -s e -d'Further edit commit message' 13 14complete -c src -r -n __fish_use_subcommand -a amend -d'Amends the stored comment for a specified revision' 15complete -c src -x -n'__fish_seen_subcommand_from amend' -s m -d'Enter commit message as a string' 16complete -c src -r -n'__fish_seen_subcommand_from amend' -s f -d'Enter file containing commit message' 17complete -c src -n'__fish_seen_subcommand_from amend' -s e -d'Further edit commit message' 18 19complete -c src -r -n __fish_use_subcommand -a checkout -d'Refresh working copy from history' 20 21complete -c src -r -n __fish_use_subcommand -a cat -d'Send the specified revision of the files to standard output' 22 23complete -c src -r -n __fish_use_subcommand -a status -d'Show status of files' 24complete -c src -n'__fish_seen_subcommand_from status' -s a -d'Show all files' 25 26complete -c src -r -n __fish_use_subcommand -a tag -d'List/create/delete tags' 27complete -c src -n'__fish_seen_subcommand_from tag' -a list -d'List tags' 28complete -c src -n'__fish_seen_subcommand_from tag' -s l -d'List tags' 29complete -c src -r -n'__fish_seen_subcommand_from tag' -a create -d'Create tag' 30complete -c src -r -n'__fish_seen_subcommand_from tag' -s c -d'Create tag' 31complete -c src -r -n'__fish_seen_subcommand_from tag' -a delete -d'Delete tag' 32complete -c src -r -n'__fish_seen_subcommand_from tag' -s d -d'Delete tag' 33 34complete -c src -r -n __fish_use_subcommand -a branch -d'List/create/delete branches' 35complete -c src -n'__fish_seen_subcommand_from branch' -a list -d'List branches' 36complete -c src -n'__fish_seen_subcommand_from branch' -s l -d'List branches' 37complete -c src -r -n'__fish_seen_subcommand_from branch' -a create -d'Create branch' 38complete -c src -r -n'__fish_seen_subcommand_from branch' -s c -d'Create branch' 39complete -c src -r -n'__fish_seen_subcommand_from branch' -a delete -d'Delete branch' 40complete -c src -r -n'__fish_seen_subcommand_from branch' -s d -d'Delete branch' 41 42complete -c src -r -n __fish_use_subcommand -a rename -d'Rename tag/branch' 43 44complete -c src -r -n __fish_use_subcommand -a list -d'List information about commits' 45# TODO: support `src list -<n>` 46complete -c src -x -n'__fish_seen_subcommand_from list' -s l -d'Limit per-file commit count' 47complete -c src -x -n'__fish_seen_subcommand_from list' -s f -d'Specify format string' 48 49# NOTE: pretending -b and -w are old-style options means they won’t be suggested as, say, “-pb” (which src can’t handle) 50complete -c src -r -n __fish_use_subcommand -a log -d'List information about commits' 51complete -c src -x -n'__fish_seen_subcommand_from log' -s v -d'Be more verbose' 52# TODO: support `src log -<n>` 53complete -c src -x -n'__fish_seen_subcommand_from log' -s l -d'Limit per-file log entries' 54complete -c src -n'__fish_seen_subcommand_from log' -s p -l patch -s u -d'Print unified-format diff' 55complete -c src -n'__fish_seen_subcommand_from log' -s c -d'Print context diff' 56complete -c src -n'__fish_seen_subcommand_from log' -n'__fish_contains_opt -s p patch' -o b -d'Ignore whitespace changes' 57complete -c src -n'__fish_seen_subcommand_from log' -n'__fish_contains_opt -s p patch' -o w -d'Ignore all whitespace' 58complete -c src -n'__fish_seen_subcommand_from log' -n'__fish_contains_opt -s u' -o b -d'Ignore whitespace changes' 59complete -c src -n'__fish_seen_subcommand_from log' -n'__fish_contains_opt -s u' -o w -d'Ignore all whitespace' 60 61# NOTE: pretending -b and -w are old-style options means they won’t be suggested as, say, “-pb” (which src can’t handle) 62complete -c src -r -n __fish_use_subcommand -a diff -d'Print diff' 63complete -c src -n'__fish_seen_subcommand_from diff' -s u -d'Print unified-format diff' 64complete -c src -n'__fish_seen_subcommand_from diff' -s c -d'Print context diff' 65complete -c src -n'__fish_seen_subcommand_from diff' -o b -d'Ignore whitespace changes' 66complete -c src -n'__fish_seen_subcommand_from diff' -o w -d'Ignore all whitespace' 67 68complete -c src -r -n __fish_use_subcommand -a ls -d'List all registered files' 69 70complete -c src -r -n __fish_use_subcommand -a visualize -d'Emit DOT visualization' 71 72complete -c src -r -n __fish_use_subcommand -a move -d'Rename a workfile and its history' 73 74complete -c src -r -n __fish_use_subcommand -a copy -d'Copy a file and its master' 75 76complete -c src -r -n __fish_use_subcommand -a fast-export -d'Export as a Git fast-import stream' 77 78complete -c src -r -n __fish_use_subcommand -a fast-import -d'Parse a git-fast-import stream from stdin' 79complete -c src -n'__fish_seen_subcommand_from fast-import' -s p -d'Discards metadata' 80 81complete -c src -r -n __fish_use_subcommand -a release -d'Release locks on files' 82 83complete -c src -s d -d'Enable debugging output' 84complete -c src -r -s S -d'Set repository directory' 85complete -c src -s T -d'Set up for fast-export tests'