Skip to content

Commit

Permalink
example source of dxl_monitor - c and cpp ver modified #50
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonJung committed Feb 15, 2017
1 parent 831a060 commit 703f99c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions c++/example/dxl_monitor/dxl_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ int kbhit(void)
void usage(char *progname)
{
printf("-----------------------------------------------------------------------\n");
printf("Usage: %s\n");
printf("Usage: %s\n", progname);
printf(" [-h | --help]........: display this help\n");
printf("[-d | --device]......: port to open\n", progname);
printf(" [-d | --device]......: port to open\n");
printf("-----------------------------------------------------------------------\n");
}

Expand Down
7 changes: 3 additions & 4 deletions c/example/dxl_monitor/dxl_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,9 @@ int kbhit(void)
void usage(char *progname)
{
printf("-----------------------------------------------------------------------\n");
printf("usage: %s\n" \
" [-h | --help]........: display this help\n" \
" [-d | --device]......: port to open \n" \
, progname);
printf("Usage: %s\n", progname);
printf(" [-h | --help]........: display this help\n");
printf(" [-d | --device]......: port to open\n");
printf("-----------------------------------------------------------------------\n");
}

Expand Down

0 comments on commit 703f99c

Please sign in to comment.