From 3c9ea277bbb9860b19763bad884fed62d4108bde Mon Sep 17 00:00:00 2001 From: Michael Homer Date: Sat, 21 Jun 2014 17:24:58 +1200 Subject: Update --help output with other modes The --help text didn't include --target, --and-exit, or --keep; with this commit it does. --- dragon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dragon.c') 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); -- cgit