summaryrefslogtreecommitdiff
path: root/cmd_format.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-01-13 14:15:01 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-01-13 14:15:01 -0500
commit5f7dd4b4b25d542712078d769cf69e87bb5e152a (patch)
tree02c5003674b301f8d38df9d562d7d1e976051aae /cmd_format.c
parent6892dcbcc019a794fa0ba422687cb9676840b71f (diff)
Fix target options
Diffstat (limited to 'cmd_format.c')
-rw-r--r--cmd_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_format.c b/cmd_format.c
index 26f6b08c..bf175581 100644
--- a/cmd_format.c
+++ b/cmd_format.c
@@ -196,7 +196,7 @@ int cmd_format(int argc, char *argv[])
exit(EXIT_SUCCESS);
break;
case '?':
- die("unrecognized option %s", optarg);
+ exit(EXIT_FAILURE);
break;
}