Skip to content
Permalink
Browse files

add yang2yin help messages

  • Loading branch information...
open520 committed Aug 14, 2019
1 parent 3a8aeb6 commit 5853576dedd362f41201dad9838985998c851ff4
Showing with 2 additions and 0 deletions.
  1. +2 −0 tools/yang2yin/main.c
@@ -1794,6 +1794,8 @@ main(int argc, char **argv)
case 2:
if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) {
fprintf(stdout, "Usage:\n\t%s [input-file] [output-file]\n", argv[0]);
fprintf(stdout, "\n\tinput-file: intput yang file path. If empty, input from stdin. \n");
fprintf(stdout, "\toutput-file: output yin file path. If empty, output to stdout. \n\n");
return 0;
}
in_file = argv[1];

0 comments on commit 5853576

Please sign in to comment.
You can’t perform that action at this time.