I don't know any cli tool that shows a description text
on the same line as the usage and sigrok-cli doesn't do it
either, so it shouldn't be there.
As I don't see any other place where it would make sense,
I remove it completely.
#-------------------------------------------------------------------------------
set(PV_TITLE PulseView)
-set(PV_DESCRIPTION "A GUI for sigrok")
set(PV_VERSION_STRING "0.4.0")
set(PV_GLIBMM_VERSION ${PKGDEPS_glibmm-2.4_VERSION})
/* Application details */
#define PV_TITLE "@PV_TITLE@"
-#define PV_DESCRIPTION "@PV_DESCRIPTION@"
#define PV_BIN_NAME "@PROJECT_NAME@"
/* Pulseview version information */
{
fprintf(stdout,
"Usage:\n"
- " %s [OPTION...] - %s\n"
+ " %s [OPTIONS] [FILE]\n"
"\n"
"Help Options:\n"
" -h, -?, --help Show help option\n"
" -i, --input-file Load input from file\n"
" -I, --input-format Input format\n"
" -c, --clean Don't restore previous sessions on startup\n"
- "\n", PV_BIN_NAME, PV_DESCRIPTION);
+ "\n", PV_BIN_NAME);
}
int main(int argc, char *argv[])