aboutsummaryrefslogtreecommitdiff
path: root/src/xz/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/main.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/xz/main.c b/src/xz/main.c
index 3295bba3..b197ca43 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -153,6 +153,13 @@ main(int argc, char **argv)
args_info args;
args_parse(&args, argc, argv);
+ if (opt_mode == MODE_LIST)
+ message_fatal("--list is not implemented yet.");
+
+ if (opt_robot)
+ message_fatal(_("Compression and decompression with --robot "
+ "are not supported yet."));
+
// Tell the message handling code how many input files there are if
// we know it. This way the progress indicator can show it.
if (args.files_name != NULL)
@@ -172,10 +179,6 @@ main(int argc, char **argv)
}
}
- if (opt_mode == MODE_LIST) {
- message_fatal("--list is not implemented yet.");
- }
-
// Hook the signal handlers. We don't need these before we start
// the actual action, so this is done after parsing the command
// line arguments.