aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-08-10 02:16:02 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-08-10 02:16:02 +0200
commit1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9 (patch)
tree0c09a731271c3a714534556ed36cf2843064d2ff /cli
parentfd0e6e3aa0e7523a36011a2f0264737772aa5e24 (diff)
downloadkicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.gz
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.bz2
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.xz
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.zip
templates: nodemcu-arduino: better symbol names.
o Adding some documentation to the readme. Adding a small flow chart illustrating how the tool work with a schematic, netlist and template to generate a header file.
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);