aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dragon.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dragon.c b/dragon.c
index 0c0c3b2..4e1de47 100644
--- a/dragon.c
+++ b/dragon.c
@@ -231,9 +231,11 @@ int main (int argc, char **argv) {
} else if (strcmp(argv[i], "-v") == 0
|| strcmp(argv[i], "--verbose") == 0) {
verbose = true;
- } else if (strcmp(argv[i], "--target") == 0) {
+ } else if (strcmp(argv[i], "-t") == 0
+ || strcmp(argv[i], "--target") == 0) {
mode = MODE_TARGET;
- } else if (strcmp(argv[i], "--and-exit") == 0) {
+ } else if (strcmp(argv[i], "-x") == 0
+ || strcmp(argv[i], "--and-exit") == 0) {
and_exit = true;
} else if (strcmp(argv[i], "-k") == 0
|| strcmp(argv[i], "--keep") == 0) {
bgstack15