diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tinyplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/tinyplay.c b/utils/tinyplay.c index ea7e115..bd79eff 100644 --- a/utils/tinyplay.c +++ b/utils/tinyplay.c @@ -97,7 +97,7 @@ int cmd_parse_arg(struct cmd *cmd, int argc, const char **argv) fprintf(stderr, "failed parsing period size '%s'\n", argv[1]); return -1; } - } else if ((strcmp(argv[0], "-p") == 0) || (strcmp(argv[0], "--period-count") == 0)) { + } else if ((strcmp(argv[0], "-n") == 0) || (strcmp(argv[0], "--period-count") == 0)) { if (sscanf(argv[1], "%u", &cmd->config.period_count) != 1) { fprintf(stderr, "failed parsing period count '%s'\n", argv[1]); return -1; |