aboutsummaryrefslogtreecommitdiff
path: root/dragon.c
diff options
context:
space:
mode:
authorMichael Homer <mwh@mwh.geek.nz>2014-06-21 17:24:58 +1200
committerMichael Homer <mwh@mwh.geek.nz>2014-06-21 17:24:58 +1200
commit3c9ea277bbb9860b19763bad884fed62d4108bde (patch)
tree874f1badfed1aafc7ff77856e5372163ba566434 /dragon.c
parentAdd readme and licence (diff)
downloaddragon-3c9ea277bbb9860b19763bad884fed62d4108bde.tar.gz
dragon-3c9ea277bbb9860b19763bad884fed62d4108bde.tar.bz2
dragon-3c9ea277bbb9860b19763bad884fed62d4108bde.zip
Update --help output with other modes
The --help text didn't include --target, --and-exit, or --keep; with this commit it does.
Diffstat (limited to 'dragon.c')
-rw-r--r--dragon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dragon.c b/dragon.c
index 4e1de47..6b410c0 100644
--- a/dragon.c
+++ b/dragon.c
@@ -278,7 +278,10 @@ int main (int argc, char **argv) {
case MODE_HELP:
printf("dragon - lightweight DnD source/target\n");
printf("Usage: %s [OPTION] [FILENAME]\n", argv[0]);
- printf(" --verbose, -v be verbose\n");
+ printf(" --and-exit, -x exit after a single completed drop\n");
+ printf(" --target, -t act as a target instead of source\n");
+ printf(" --keep, -k with --target, keep files to drag out\n");
+ printf(" --verbose, -v be verbose\n");
printf(" --help show help\n");
printf(" --version show version details\n");
exit(0);
bgstack15