diff options
author | David Tardon <dtardon@redhat.com> | 2019-10-11 14:41:58 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2019-10-11 14:45:02 +0200 |
commit | 9e385314b0917d496d7defc223c725eee03cc135 (patch) | |
tree | a57e1e0d849bc9500fb95e538f8470754b02a952 /src/udev/ata_id | |
parent | 9b2aee4170c7bef4783b09c43d4051d6fdfa5eac (diff) | |
download | systemd-9e385314b0917d496d7defc223c725eee03cc135.tar.gz |
udev: do not hardcode program name
Diffstat (limited to 'src/udev/ata_id')
-rw-r--r-- | src/udev/ata_id/ata_id.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c index e5a9400eda..deeb939f54 100644 --- a/src/udev/ata_id/ata_id.c +++ b/src/udev/ata_id/ata_id.c @@ -425,9 +425,10 @@ int main(int argc, char *argv[]) { export = 1; break; case 'h': - printf("Usage: ata_id [--export] [--help] <device>\n" + printf("Usage: %s [--export] [--help] <device>\n" " -x,--export print values as environment keys\n" - " -h,--help print this help text\n\n"); + " -h,--help print this help text\n\n", + program_invocation_short_name); return 0; } } |