Skip to content

Commit

Permalink
添加版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaopei0418 committed Apr 28, 2019
1 parent d34e5d7 commit 0d74ad1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paropt/paropt.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ BOOL_TYPE searchsubdirectories;
char dstdir[CHAR_BUFF_LENGTH];
uint32_t delaytime;

static const char *VERSION_NO = "1.0";

/* private function declarations */
static void help(const char *restrict cmdName);
static void calculationDelayTime(const char *delayTimeStr);

static void help(const char *restrict cmdName)
{
printf("tof %s\n", VERSION_NO);
printf("Usage: %s [OPTION]\n\n", cmdName);
printf(" -s --srcdir <value> source dir\n");
printf(" -f --filepattern <pattern> match file pattern\n");
Expand Down

0 comments on commit 0d74ad1

Please sign in to comment.