Cleanup: version of strgen/settingsgen was always $Revision$, so remove it
This commit is contained in:
@@ -397,7 +397,6 @@ static inline char *replace_pathsep(char *s) { return s; }
|
||||
|
||||
/** Options of strgen. */
|
||||
static const OptionData _opts[] = {
|
||||
GETOPT_NOVAL( 'v', "--version"),
|
||||
GETOPT_GENERAL('C', '\0', "-export-commands", ODF_NO_VALUE),
|
||||
GETOPT_GENERAL('L', '\0', "-export-plurals", ODF_NO_VALUE),
|
||||
GETOPT_GENERAL('P', '\0', "-export-pragmas", ODF_NO_VALUE),
|
||||
@@ -422,10 +421,6 @@ int CDECL main(int argc, char *argv[])
|
||||
if (i == -1) break;
|
||||
|
||||
switch (i) {
|
||||
case 'v':
|
||||
fmt::print("$Revision$\n");
|
||||
return 0;
|
||||
|
||||
case 'C':
|
||||
fmt::print("args\tflags\tcommand\treplacement\n");
|
||||
for (const CmdStruct *cs = _cmd_structs; cs < endof(_cmd_structs); cs++) {
|
||||
@@ -468,8 +463,7 @@ int CDECL main(int argc, char *argv[])
|
||||
|
||||
case 'h':
|
||||
fmt::print(
|
||||
"strgen - $Revision$\n"
|
||||
" -v | --version print version information and exit\n"
|
||||
"strgen\n"
|
||||
" -t | --todo replace any untranslated strings with '<TODO>'\n"
|
||||
" -w | --warning print a warning for any untranslated strings\n"
|
||||
" -h | -? | --help print this help message and exit\n"
|
||||
|
Reference in New Issue
Block a user