diff options
author | Robert Milasan <rmilasan@suse.com> | 2014-12-30 18:58:29 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-07 16:40:19 -0500 |
commit | 251b8f66aaee1d2e0f4638ce97e5a2df026c165b (patch) | |
tree | 7f27c01b8e2d6259fe24c3267dbc1609e1c226b7 | |
parent | ec0310d5e400efd494e75611901806d847fdefa3 (diff) |
accelerometer: display short options too
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/accelerometer/accelerometer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c index f97dcc2460..e0e9c726b1 100644 --- a/src/accelerometer/accelerometer.c +++ b/src/accelerometer/accelerometer.c @@ -202,8 +202,8 @@ static void test_orientation(struct udev *udev, static void help(void) { printf("Usage: accelerometer [options] <device path>\n" - " --debug debug to stderr\n" - " --help print this help text\n\n"); + " -d,--debug debug to stderr\n" + " -h,--help print this help text\n\n"); } int main (int argc, char** argv) |