aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/darcs.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-16 11:18:28 +1000
commit34e27ff4c216e2d379afba19fed2761a684697d8 (patch)
treea1429d6c9796caf54c3f4d440e740a88e3aa76aa /share/completions/darcs.fish
parent47588c8e75f56f6065a4eb6d4e3bccbad4fab14e (diff)
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
Diffstat (limited to 'share/completions/darcs.fish')
-rw-r--r--share/completions/darcs.fish320
1 files changed, 160 insertions, 160 deletions
diff --git a/share/completions/darcs.fish b/share/completions/darcs.fish
index 29cf66f4..39f79b81 100644
--- a/share/completions/darcs.fish
+++ b/share/completions/darcs.fish
@@ -41,203 +41,203 @@ complete -c darcs -n '__fish_use_subcommand' -xa 'repair\t"'(_ "Repair the corru
#
# These switches are universal
#
-complete -c darcs -s h -l help -d (N_ "Shows brief description of command and its arguments")
-complete -c darcs -l disable -d (N_ "Disable this command")
-complete -c darcs -l repodir -d (N_ "Specify the repository directory in which to run") -x -a '(__fish_complete_directories (commandline -ct))'
-complete -c darcs -s v -l verbose -d (N_ "Verbose mode")
-complete -c darcs -l standard-verbosity -d (N_ "Neither verbose nor quiet output")
+complete -c darcs -s h -l help --description "Shows brief description of command and its arguments"
+complete -c darcs -l disable --description "Disable this command"
+complete -c darcs -l repodir --description "Specify the repository directory in which to run" -x -a '(__fish_complete_directories (commandline -ct))'
+complete -c darcs -s v -l verbose --description "Verbose mode"
+complete -c darcs -l standard-verbosity --description "Neither verbose nor quiet output"
-complete -c darcs -n 'not __fish_use_subcommand' -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" -d (N_ "Darcs repo")
+complete -c darcs -n 'not __fish_use_subcommand' -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" --description "Darcs repo"
#
# Here follows a huge list of subcommand-specific completions. These are incomplete.
#
set -l record_opt -c darcs -n 'contains record (commandline -poc)'
-complete $record_opt -s m -l patch-name -d (N_ "Name of patch") -x
-complete $record_opt -s A -l author -d (N_ "Specify author id") -x
-complete $record_opt -l logfile -d (N_ "Give patch name and comment in file") -r
-complete $record_opt -s a -l all -d (N_ "Answer yes to all patches")
-complete $record_opt -s l -l look-for-adds -d (N_ "In addition to modifications, look for files that are not boring, and thus are potentially pending addition")
-complete $record_opt -l delete-logfile -d (N_ "Delete the logfile when done")
-complete $record_opt -l no-test -d (N_ "Don't run the test script")
-complete $record_opt -l test -d (N_ "Run the test script")
-complete $record_opt -l leave-test-directory -d (N_ "Don't remove the test directory")
-complete $record_opt -l remove-test-directory -d (N_ "Remove the test directory")
-complete $record_opt -l compress -d (N_ "Create compressed patches")
-complete $record_opt -l dont-compress -d (N_ "Don't create compressed patches")
-complete $record_opt -l pipe -d (N_ "Expect to receive input from a pipe")
-complete $record_opt -l interactive -d (N_ "Prompt user interactively")
-complete $record_opt -l ask-deps -d (N_ "Ask for extra dependencies")
-complete $record_opt -l no-ask-deps -d (N_ "Don't ask for extra dependencies")
-complete $record_opt -l edit-long-comment -d (N_ "Edit the long comment by default")
-complete $record_opt -l skip-long-comment -d (N_ "Don't give a long comment")
-complete $record_opt -l prompt-long-comment -d (N_ "Prompt for whether to edit the long comment")
-complete $record_opt -l ignore-times -d (N_ "Don't trust the file modification times")
-complete $record_opt -l dont-look-for-adds -d (N_ "Don't look for any files or directories that could be added, and don't add them automatically")
+complete $record_opt -s m -l patch-name --description "Name of patch" -x
+complete $record_opt -s A -l author --description "Specify author id" -x
+complete $record_opt -l logfile --description "Give patch name and comment in file" -r
+complete $record_opt -s a -l all --description "Answer yes to all patches"
+complete $record_opt -s l -l look-for-adds --description "In addition to modifications, look for files that are not boring, and thus are potentially pending addition"
+complete $record_opt -l delete-logfile --description "Delete the logfile when done"
+complete $record_opt -l no-test --description "Don't run the test script"
+complete $record_opt -l test --description "Run the test script"
+complete $record_opt -l leave-test-directory --description "Don't remove the test directory"
+complete $record_opt -l remove-test-directory --description "Remove the test directory"
+complete $record_opt -l compress --description "Create compressed patches"
+complete $record_opt -l dont-compress --description "Don't create compressed patches"
+complete $record_opt -l pipe --description "Expect to receive input from a pipe"
+complete $record_opt -l interactive --description "Prompt user interactively"
+complete $record_opt -l ask-deps --description "Ask for extra dependencies"
+complete $record_opt -l no-ask-deps --description "Don't ask for extra dependencies"
+complete $record_opt -l edit-long-comment --description "Edit the long comment by default"
+complete $record_opt -l skip-long-comment --description "Don't give a long comment"
+complete $record_opt -l prompt-long-comment --description "Prompt for whether to edit the long comment"
+complete $record_opt -l ignore-times --description "Don't trust the file modification times"
+complete $record_opt -l dont-look-for-adds --description "Don't look for any files or directories that could be added, and don't add them automatically"
set -l pull_opt -c darcs -n 'contains pull (commandline -poc)'
-complete $pull_opt -s p -l patches -d (N_ "Select patches matching REGEXP") -x
-complete $pull_opt -s t -l tags -d (N_ "Select tags matching REGEXP") -x
-complete $pull_opt -s a -l all -d (N_ "Answer yes to all patches")
-complete $pull_opt -s s -l summary -d (N_ "Summarize changes")
-complete $pull_opt -s q -l quiet -d (N_ "Suppress informational output")
-complete $pull_opt -l matches -d (N_ "Select patches matching PATTERN") -x
-complete $pull_opt -l external-merge -d (N_ "Use external tool to merge conflicts") -x
-complete $pull_opt -l interactive -d (N_ "Prompt user interactively")
-complete $pull_opt -l compress -d (N_ "Create compressed patches")
-complete $pull_opt -l dont-compress -d (N_ "Don't create compressed patches")
-complete $pull_opt -l test -d (N_ "Run the test script")
-complete $pull_opt -l no-test -d (N_ "Don't run the test script")
-complete $pull_opt -l dry-run -d (N_ "Don't actually take the action")
-complete $pull_opt -l no-summary -d (N_ "Don't summarize changes")
-complete $pull_opt -l ignore-times -d (N_ "Don't trust the file modification times")
-complete $pull_opt -l no-deps -d (N_ "Don't automatically fulfill dependencies")
-complete $pull_opt -l set-default -d (N_ "Set default repository [DEFAULT]")
-complete $pull_opt -l no-set-default -d (N_ "Don't set default repository")
-complete $pull_opt -l set-scripts-executable -d (N_ "Make scripts executable")
-complete $pull_opt -l dont-set-scripts-executable -d (N_ "Don't make scripts executable")
+complete $pull_opt -s p -l patches --description "Select patches matching REGEXP" -x
+complete $pull_opt -s t -l tags --description "Select tags matching REGEXP" -x
+complete $pull_opt -s a -l all --description "Answer yes to all patches"
+complete $pull_opt -s s -l summary --description "Summarize changes"
+complete $pull_opt -s q -l quiet --description "Suppress informational output"
+complete $pull_opt -l matches --description "Select patches matching PATTERN" -x
+complete $pull_opt -l external-merge --description "Use external tool to merge conflicts" -x
+complete $pull_opt -l interactive --description "Prompt user interactively"
+complete $pull_opt -l compress --description "Create compressed patches"
+complete $pull_opt -l dont-compress --description "Don't create compressed patches"
+complete $pull_opt -l test --description "Run the test script"
+complete $pull_opt -l no-test --description "Don't run the test script"
+complete $pull_opt -l dry-run --description "Don't actually take the action"
+complete $pull_opt -l no-summary --description "Don't summarize changes"
+complete $pull_opt -l ignore-times --description "Don't trust the file modification times"
+complete $pull_opt -l no-deps --description "Don't automatically fulfill dependencies"
+complete $pull_opt -l set-default --description "Set default repository [DEFAULT]"
+complete $pull_opt -l no-set-default --description "Don't set default repository"
+complete $pull_opt -l set-scripts-executable --description "Make scripts executable"
+complete $pull_opt -l dont-set-scripts-executable --description "Don't make scripts executable"
set -l apply_opt -c darcs -n 'contains apply (commandline -poc)'
-complete $apply_opt -s a -l all -d (N_ "Answer yes to all patches")
-complete $apply_opt -l verify -d (N_ "Verify that the patch was signed by a key in PUBRING") -r
-complete $apply_opt -l verify-ssl -d (N_ "Verify using openSSL with authorized keys from specified file") -r
-complete $apply_opt -l sendmail-command -d (N_ "Specify sendmail command") -r
-complete $apply_opt -l reply -d (N_ "Reply to email-based patch using FROM address") -x
-complete $apply_opt -l cc -d (N_ "Mail results to additional EMAIL(s). Requires --reply") -x
-complete $apply_opt -l external-merge -d (N_ "Use external tool to merge conflicts") -r
-complete $apply_opt -l no-verify -d (N_ "Don't verify patch signature")
-complete $apply_opt -l ignore-times -d (N_ "Don't trust the file modification times")
-complete $apply_opt -l compress -d (N_ "Create compressed patches")
-complete $apply_opt -l dont-compress -d (N_ "Don't create compressed patches")
-complete $apply_opt -l interactive -d (N_ "Prompt user interactively")
-complete $apply_opt -l mark-conflicts -d (N_ "Mark conflicts")
-complete $apply_opt -l allow-conflicts -d (N_ "Allow conflicts, but don't mark them")
-complete $apply_opt -l dont-allow-conflicts -d (N_ "Fail on patches that create conflicts [DEFAULT]")
-complete $apply_opt -l no-test -d (N_ "Don't run the test script")
-complete $apply_opt -l test -d (N_ "Run the test script")
-complete $apply_opt -l happy-forwarding -d (N_ "Forward unsigned messages without extra header")
-complete $apply_opt -l leave-test-directory -d (N_ "Don't remove the test directory")
-complete $apply_opt -l remove-test-directory -d (N_ "Remove the test directory")
-complete $apply_opt -l set-scripts-executable -d (N_ "Make scripts executable")
-complete $apply_opt -l dont-set-scripts-executable -d (N_ "Don't make scripts executable")
+complete $apply_opt -s a -l all --description "Answer yes to all patches"
+complete $apply_opt -l verify --description "Verify that the patch was signed by a key in PUBRING" -r
+complete $apply_opt -l verify-ssl --description "Verify using openSSL with authorized keys from specified file" -r
+complete $apply_opt -l sendmail-command --description "Specify sendmail command" -r
+complete $apply_opt -l reply --description "Reply to email-based patch using FROM address" -x
+complete $apply_opt -l cc --description "Mail results to additional EMAIL(s). Requires --reply" -x
+complete $apply_opt -l external-merge --description "Use external tool to merge conflicts" -r
+complete $apply_opt -l no-verify --description "Don't verify patch signature"
+complete $apply_opt -l ignore-times --description "Don't trust the file modification times"
+complete $apply_opt -l compress --description "Create compressed patches"
+complete $apply_opt -l dont-compress --description "Don't create compressed patches"
+complete $apply_opt -l interactive --description "Prompt user interactively"
+complete $apply_opt -l mark-conflicts --description "Mark conflicts"
+complete $apply_opt -l allow-conflicts --description "Allow conflicts, but don't mark them"
+complete $apply_opt -l dont-allow-conflicts --description "Fail on patches that create conflicts [DEFAULT]"
+complete $apply_opt -l no-test --description "Don't run the test script"
+complete $apply_opt -l test --description "Run the test script"
+complete $apply_opt -l happy-forwarding --description "Forward unsigned messages without extra header"
+complete $apply_opt -l leave-test-directory --description "Don't remove the test directory"
+complete $apply_opt -l remove-test-directory --description "Remove the test directory"
+complete $apply_opt -l set-scripts-executable --description "Make scripts executable"
+complete $apply_opt -l dont-set-scripts-executable --description "Don't make scripts executable"
set -l check_opt -c darcs -n 'contains check (commandline -poc)'
-complete $check_opt -s v -l verbose -d (N_ "Verbose mode")
-complete $check_opt -s q -l quiet -d (N_ "Suppress informational output")
-complete $check_opt -l complete -d (N_ "Check the entire repository")
-complete $check_opt -l partial -d (N_ "Check patches since latest checkpoint")
-complete $check_opt -l no-test -d (N_ "Don't run the test script")
-complete $check_opt -l test -d (N_ "Run the test script")
-complete $check_opt -l leave-test-directory -d (N_ "Don't remove the test directory")
-complete $check_opt -l remove-test-directory -d (N_ "Remove the test directory")
+complete $check_opt -s v -l verbose --description "Verbose mode"
+complete $check_opt -s q -l quiet --description "Suppress informational output"
+complete $check_opt -l complete --description "Check the entire repository"
+complete $check_opt -l partial --description "Check patches since latest checkpoint"
+complete $check_opt -l no-test --description "Don't run the test script"
+complete $check_opt -l test --description "Run the test script"
+complete $check_opt -l leave-test-directory --description "Don't remove the test directory"
+complete $check_opt -l remove-test-directory --description "Remove the test directory"
set -l mv_opt -c darcs -n 'contains mv (commandline -poc)'
-complete $mv_opt -s v -l verbose -d (N_ "Verbose mode")
-complete $mv_opt -l case-ok -d (N_ "Don't refuse to add files differing only in case")
+complete $mv_opt -s v -l verbose --description "Verbose mode"
+complete $mv_opt -l case-ok --description "Don't refuse to add files differing only in case"
set -l send_opt -c darcs -n 'contains send (commandline -poc)'
-complete $send_opt -s v -l verbose -d (N_ "Verbose mode")
-complete $send_opt -s q -l quiet -d (N_ "Suppress informational output")
-complete $send_opt -xs p -l patches -d (N_ "Select patches matching REGEXP")
-complete $send_opt -xs t -l tags -d (N_ "Select tags matching REGEXP")
-complete $send_opt -s a -l all -d (N_ "Answer yes to all patches")
-complete $send_opt -xs A -l author -d (N_ "Specify author id")
-complete $send_opt -rs o -l output -d (N_ "Specify output filename")
-complete $send_opt -s u -l unified -d (N_ "Output patch in a darcs-specific format similar to diff -u")
-complete $send_opt -s s -l summary -d (N_ "Summarize changes")
-complete $send_opt -xl matches -d (N_ "Select patches matching PATTERN")
-complete $send_opt -l interactive -d (N_ "Prompt user interactively")
-complete $send_opt -xl from -d (N_ "Specify email address")
-complete $send_opt -xl to -d (N_ "Specify destination email")
-complete $send_opt -xl cc -d (N_ "Mail results to additional EMAIL(s). Requires --reply")
-complete $send_opt -l sign -d (N_ "Sign the patch with your gpg key")
-complete $send_opt -xl sign-as -d (N_ "Sign the patch with a given keyid")
-complete $send_opt -rl sign-ssl -d (N_ "Sign the patch using openssl with a given private key")
-complete $send_opt -l dont-sign -d (N_ "Do not sign the patch")
-complete $send_opt -l dry-run -d (N_ "Don't actually take the action")
-complete $send_opt -l no-summary -d (N_ "Don't summarize changes")
-complete $send_opt -rl context -d (N_ "Send to context stored in FILENAME")
-complete $send_opt -l edit-description -d (N_ "Edit the patch bundle description")
-complete $send_opt -l set-default -d (N_ "Set default repository [DEFAULT]")
-complete $send_opt -l no-set-default -d (N_ "Don't set default repository")
-complete $send_opt -rl sendmail-command -d (N_ "Specify sendmail command")
+complete $send_opt -s v -l verbose --description "Verbose mode"
+complete $send_opt -s q -l quiet --description "Suppress informational output"
+complete $send_opt -xs p -l patches --description "Select patches matching REGEXP"
+complete $send_opt -xs t -l tags --description "Select tags matching REGEXP"
+complete $send_opt -s a -l all --description "Answer yes to all patches"
+complete $send_opt -xs A -l author --description "Specify author id"
+complete $send_opt -rs o -l output --description "Specify output filename"
+complete $send_opt -s u -l unified --description "Output patch in a darcs-specific format similar to diff -u"
+complete $send_opt -s s -l summary --description "Summarize changes"
+complete $send_opt -xl matches --description "Select patches matching PATTERN"
+complete $send_opt -l interactive --description "Prompt user interactively"
+complete $send_opt -xl from --description "Specify email address"
+complete $send_opt -xl to --description "Specify destination email"
+complete $send_opt -xl cc --description "Mail results to additional EMAIL(s). Requires --reply"
+complete $send_opt -l sign --description "Sign the patch with your gpg key"
+complete $send_opt -xl sign-as --description "Sign the patch with a given keyid"
+complete $send_opt -rl sign-ssl --description "Sign the patch using openssl with a given private key"
+complete $send_opt -l dont-sign --description "Do not sign the patch"
+complete $send_opt -l dry-run --description "Don't actually take the action"
+complete $send_opt -l no-summary --description "Don't summarize changes"
+complete $send_opt -rl context --description "Send to context stored in FILENAME"
+complete $send_opt -l edit-description --description "Edit the patch bundle description"
+complete $send_opt -l set-default --description "Set default repository [DEFAULT]"
+complete $send_opt -l no-set-default --description "Don't set default repository"
+complete $send_opt -rl sendmail-command --description "Specify sendmail command"
set -l init_opt -c darcs -n 'contains initialize (commandline -poc)'
-complete $init_opt -l plain-pristine-tree -d (N_ "Use a plain pristine tree [DEFAULT]")
-complete $init_opt -l no-pristine-tree -d (N_ "Use no pristine tree")
+complete $init_opt -l plain-pristine-tree --description "Use a plain pristine tree [DEFAULT]"
+complete $init_opt -l no-pristine-tree --description "Use no pristine tree"
set -l annotate_opt -c darcs -n 'contains annotate (commandline -poc)'
-complete $annotate_opt -s s -l summary -d (N_ "Summarize changes")
-complete $annotate_opt -l no-summary -d (N_ "Don't summarize changes")
-complete $annotate_opt -s u -l unified -d (N_ "Output patch in a darcs-specific format similar to diff -u")
-complete $annotate_opt -l human-readable -d (N_ "Give human readable output")
-complete $annotate_opt -l xml-output -d (N_ "Generate XML formatted output")
-complete $annotate_opt -l match -x -d (N_ "Select patch matching PATTERN")
-complete $annotate_opt -s p -l patch -x -d (N_ "Select patch matching REGEXP")
-complete $annotate_opt -s t -l tag -x -d (N_ "Select tag matching REGEXP")
-complete $annotate_opt -l creator-hash -x -d (N_ "Specify hash of creator patch (see docs)")
+complete $annotate_opt -s s -l summary --description "Summarize changes"
+complete $annotate_opt -l no-summary --description "Don't summarize changes"
+complete $annotate_opt -s u -l unified --description "Output patch in a darcs-specific format similar to diff -u"
+complete $annotate_opt -l human-readable --description "Give human readable output"
+complete $annotate_opt -l xml-output --description "Generate XML formatted output"
+complete $annotate_opt -l match -x --description "Select patch matching PATTERN"
+complete $annotate_opt -s p -l patch -x --description "Select patch matching REGEXP"
+complete $annotate_opt -s t -l tag -x --description "Select tag matching REGEXP"
+complete $annotate_opt -l creator-hash -x --description "Specify hash of creator patch (see docs)"
set -l changes_opt -c darcs -n 'contains changes (commandline -poc)'
-complete $changes_opt -l to-match -x -d (N_ "Select changes up to a patch matching PATTERN")
-complete $changes_opt -l to-patch -x -d (N_ "Select changes up to a patch matching REGEXP")
-complete $changes_opt -l to-tag -x -d (N_ "Select changes up to a tag matching REGEXP")
-complete $changes_opt -l from-match -x -d (N_ "Select changes starting with a patch matching PATTERN")
-complete $changes_opt -l from-patch -x -d (N_ "Select changes starting with a patch matching REGEXP")
-complete $changes_opt -l from-tag -x -d (N_ "Select changes starting with a tag matching REGEXP")
-complete $changes_opt -l last -x -d (N_ "Select the last NUMBER patches")
-complete $changes_opt -l matches -x -d (N_ "Select patches matching PATTERN")
-complete $changes_opt -s p -l patches -x -d (N_ "Select patches matching REGEXP")
-complete $changes_opt -s t -l tags -x -d (N_ "Select tags matching REGEXP")
-complete $changes_opt -l context -d (N_ "Give output suitable for get --context")
-complete $changes_opt -l xml-output -d (N_ "Generate XML formatted output")
-complete $changes_opt -l human-readable -d (N_ "Give human-readable output")
-complete $changes_opt -s s -l summary -d (N_ "Summarize changes")
-complete $changes_opt -l no-summary -d (N_ "Don't summarize changes")
-complete $changes_opt -s q -l quiet -d (N_ "Suppress informational output")
-complete $changes_opt -l reverse -d (N_ "Show changes in reverse order")
-complete $changes_opt -l repo -x -d (N_ "Specify the repository URL")
+complete $changes_opt -l to-match -x --description "Select changes up to a patch matching PATTERN"
+complete $changes_opt -l to-patch -x --description "Select changes up to a patch matching REGEXP"
+complete $changes_opt -l to-tag -x --description "Select changes up to a tag matching REGEXP"
+complete $changes_opt -l from-match -x --description "Select changes starting with a patch matching PATTERN"
+complete $changes_opt -l from-patch -x --description "Select changes starting with a patch matching REGEXP"
+complete $changes_opt -l from-tag -x --description "Select changes starting with a tag matching REGEXP"
+complete $changes_opt -l last -x --description "Select the last NUMBER patches"
+complete $changes_opt -l matches -x --description "Select patches matching PATTERN"
+complete $changes_opt -s p -l patches -x --description "Select patches matching REGEXP"
+complete $changes_opt -s t -l tags -x --description "Select tags matching REGEXP"
+complete $changes_opt -l context --description "Give output suitable for get --context"
+complete $changes_opt -l xml-output --description "Generate XML formatted output"
+complete $changes_opt -l human-readable --description "Give human-readable output"
+complete $changes_opt -s s -l summary --description "Summarize changes"
+complete $changes_opt -l no-summary --description "Don't summarize changes"
+complete $changes_opt -s q -l quiet --description "Suppress informational output"
+complete $changes_opt -l reverse --description "Show changes in reverse order"
+complete $changes_opt -l repo -x --description "Specify the repository URL"
set -l add_opt -c darcs -n 'contains add (commandline -poc)'
-complete $add_opt -l boring -d (N_ "Don't skip boring files")
-complete $add_opt -l case-ok -d (N_ "Don't refuse to add files differing only in case")
-complete $add_opt -s r -l recursive -d (N_ "Add contents of subdirectories")
-complete $add_opt -l not-recursive -d (N_ "Don't add contents of subdirectories")
-complete $add_opt -l date-trick -d (N_ "Add files with date appended to avoid conflict. [EXPERIMENTAL]")
-complete $add_opt -l no-date-trick -d (N_ "Don't use experimental date appending trick. [DEFAULT]")
-complete $add_opt -s q -l quiet -d (N_ "Suppress informational output")
-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 -l boring --description "Don't skip boring files"
+complete $add_opt -l case-ok --description "Don't refuse to add files differing only in case"
+complete $add_opt -s r -l recursive --description "Add contents of subdirectories"
+complete $add_opt -l not-recursive --description "Don't add contents of subdirectories"
+complete $add_opt -l date-trick --description "Add files with date appended to avoid conflict. [EXPERIMENTAL]"
+complete $add_opt -l no-date-trick --description "Don't use experimental date appending trick. [DEFAULT]"
+complete $add_opt -s q -l quiet --description "Suppress informational output"
+complete $add_opt -l dry-run --description "Don't actually take the action"
+complete $add_opt -s q -l quiet --description "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.")
+complete $optimize_opt -l checkpoint --description "Create a checkpoint file"
+complete $optimize_opt -l compress --description "Create compressed patches"
+complete $optimize_opt -l dont-compress --description "Don't create compressed patches"
+complete $optimize_opt -l uncompress --description "Uncompress patches"
+complete $optimize_opt -s t -l tag -r --description "Name of version to checkpoint"
+complete $optimize_opt -l modernize-patches --description "Rewrite all patches in current darcs format"
+complete $optimize_opt -l reorder-patches --description "Reorder the patches in the repository"
+complete $optimize_opt -l sibling -r --description "Specify a sibling directory"
+complete $optimize_opt -l relink --description "Relink random internal data to a sibling"
+complete $optimize_opt -l relink-pristine --description "Relink pristine tree (not recommended)"
+complete $optimize_opt -l posthook -r --description "Specify command to run after this darcs command."
+complete $optimize_opt -l no-posthook --description "Do not run posthook command."
+complete $optimize_opt -l prompt-posthook --description "Prompt before running posthook. [DEFAULT]"
+complete $optimize_opt -l run-posthook --description "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.")
-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.")
+complete $setpref_opt -l posthook -r --description "Specify command to run after this darcs command."
+complete $setpref_opt -l no-posthook --description "Do not run posthook command."
+complete $setpref_opt -l prompt-posthook --description "Prompt before running posthook. [DEFAULT]"
+complete $setpref_opt -l run-posthook --description "Run posthook command without prompting."