New version string on the form: 7.1.0-1+11+g2b25294
This commit is contained in:
parent
3cad374f33
commit
0a37cf31ab
15 changed files with 66 additions and 25 deletions
|
|
@ -616,7 +616,7 @@ main(int argc,
|
|||
help = 1;
|
||||
break;
|
||||
case 'V': /* version */
|
||||
cligen_output(stdout, "Clixon version: %s\n", CLIXON_GITHASH);
|
||||
cligen_output(stdout, "Clixon version: %s\n", CLIXON_VERSION);
|
||||
print_version++; /* plugins may also print versions w ca-version callback */
|
||||
break;
|
||||
case 'D' : /* debug, if set here overrides option CLICON_DEBUG */
|
||||
|
|
|
|||
|
|
@ -994,7 +994,7 @@ cli_show_version(clixon_handle h,
|
|||
cvec *cvv,
|
||||
cvec *argv)
|
||||
{
|
||||
cligen_output(stdout, "Clixon: %s\n", CLIXON_GITHASH);
|
||||
cligen_output(stdout, "Clixon: %s\n", CLIXON_VERSION);
|
||||
cligen_output(stdout, "CLIgen: %s\n", CLIGEN_VERSION);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue