Add a few more darcs completions. These are still unfinished, though.

darcs-hash:20061111105547-ac50b-0791e833664ff67d8ced1176577d8266fe4a3782.gz
This commit is contained in:
axel 2006-11-11 20:55:47 +10:00
parent 5005c67d76
commit 8784b78d84

View file

@ -217,3 +217,25 @@ complete $add_opt -l dry-run -d (N_ "Don't actually take the action")
complete $add_opt -s q -l quiet -d (N_ "Suppress informational output") complete $add_opt -s q -l quiet -d (N_ "Suppress informational output")
set -l optimize_opt -c darcs -n 'contains optimize (commandline -poc)'
complete $optimize_opt -l checkpoint -d (N_ "Create a checkpoint file")
complete $optimize_opt -l compress -d (N_ "Create compressed patches")
complete $optimize_opt -l dont-compress -d (N_ "Don't create compressed patches")
complete $optimize_opt -l uncompress -d (N_ "Uncompress patches")
complete $optimize_opt -s t -l tag -r -d (N_ "Name of version to checkpoint")
complete $optimize_opt -l modernize-patches -d (N_ "Rewrite all patches in current darcs format")
complete $optimize_opt -l reorder-patches -d (N_ "Reorder the patches in the repository")
complete $optimize_opt -l sibling -r -d (N_ "Specify a sibling directory")
complete $optimize_opt -l relink -d (N_ "Relink random internal data to a sibling")
complete $optimize_opt -l relink-pristine -d (N_ "Relink pristine tree (not recommended)")
complete $optimize_opt -l posthook -r -d (N_ "Specify command to run after this darcs command.")
complete $optimize_opt -l no-posthook -d (N_ "Do not run posthook command.B")
complete $optimize_opt -l prompt-posthook -d (N_ "Prompt before running posthook. [DEFAULT]")
complete $optimize_opt -l run-posthook -d (N_ "Run posthook command without prompting.")
set -l setpref_opt -c darcs -n 'contains setpref (commandline -poc)'
complete $setpref_opt -l posthook -r -d (N_ "Specify command to run after this darcs command.")
complete $setpref_opt -l no-posthook -d (N_ "Do not run posthook command.B")
complete $setpref_opt -l prompt-posthook -d (N_ "Prompt before running posthook. [DEFAULT]")
complete $setpref_opt -l run-posthook -d (N_ "Run posthook command without prompting.")