aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/generate-header.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/generate-header.cpp b/cli/generate-header.cpp
index 3ff39f6..bc02277 100644
--- a/cli/generate-header.cpp
+++ b/cli/generate-header.cpp
@@ -35,7 +35,7 @@ char *program;
__attribute__((noreturn))
void usage(const char *reason = nullptr) {
if (reason) {
- fprintf(stderr, "%s\n", reason);
+ fprintf(stderr, "error: %s\n", reason);
}
fprintf(stderr, "usage: %s -n <net file> -r <ref> -t <template> [-l <template lib dir>] [-o <out file>]\n",
program);