[Pdbg] [PATCH 12/18] main: Avoid dumping usage when useful information is printed
Amitay Isaacs
amitay at ozlabs.org
Wed May 16 16:17:30 AEST 2018
From: Amitay Isaacs <amitay at gmail.com>
Signed-off-by: Amitay Isaacs <amitay at gmail.com>
---
src/main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/main.c b/src/main.c
index c6333fb..6e28a03 100644
--- a/src/main.c
+++ b/src/main.c
@@ -576,7 +576,6 @@ int main(int argc, char *argv[])
if (!backend_is_possible(backend)) {
fprintf(stderr, "Backend not possible\nUse: ");
print_backends(stderr);
- print_usage(argv[0]);
return 1;
}
@@ -584,7 +583,6 @@ int main(int argc, char *argv[])
fprintf(stderr, "Target %s not possible\n",
device_node ? device_node : "(none)");
print_targets(stderr);
- print_usage(argv[0]);
return 1;
}
--
2.17.0
More information about the Pdbg
mailing list