diff --git a/src/rex-edid.c b/src/rex-edid.c index 0692259..45a1bc7 100644 --- a/src/rex-edid.c +++ b/src/rex-edid.c @@ -79,11 +79,13 @@ _Noreturn void help(int ret){ printf("\n"); printf("Options:\n"); printf("\t--help|-h\n"); - printf("\t\tshow this help message\n"); + printf("\t\tshow this help message and exit\n"); + printf("\t--version\n"); + printf("\t\tprint program version and exit\n"); printf("\t--sysfs|-s\n"); printf("\t\tget edid data and device names from sysfs\n"); printf("\t\tNOT intended for use other than by udev rule\n"); - printf("\t--xrandr|-s\n"); + printf("\t--xrandr|-x\n"); printf("\t\tget edid data and device names from X using randr extension\n"); printf("\t\trequires randr version %u.%u or newer\n", RANDR_MIN_VER_MAJ, RANDR_MIN_VER_MIN); printf("\n");