aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Milasan <rmilasan@suse.com>2014-12-30 18:58:29 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-01-07 16:40:19 -0500
commit251b8f66aaee1d2e0f4638ce97e5a2df026c165b (patch)
tree7f27c01b8e2d6259fe24c3267dbc1609e1c226b7
parentaccelerometer: drop unused -x option (diff)
downloadeudev-251b8f66aaee1d2e0f4638ce97e5a2df026c165b.tar.gz
eudev-251b8f66aaee1d2e0f4638ce97e5a2df026c165b.tar.bz2
eudev-251b8f66aaee1d2e0f4638ce97e5a2df026c165b.zip
accelerometer: display short options too
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/accelerometer/accelerometer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c
index f97dcc246..e0e9c726b 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)