aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-15 12:20:42 -0800
committerRob Landley <rob@landley.net>2019-02-15 15:31:51 -0600
commita7a3c411fdb002452dea75db517a0402fcdd3223 (patch)
treedd924b79a330befb5e43341135857332febc0f25 /toys/other
parent86cf62c69e9a1869054141ddaee5087e4c9fc417 (diff)
downloadtoybox-a7a3c411fdb002452dea75db517a0402fcdd3223.tar.gz
mountpoint: add missing synopsis.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/mountpoint.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/toys/other/mountpoint.c b/toys/other/mountpoint.c
index 98e1d309..a97c600a 100644
--- a/toys/other/mountpoint.c
+++ b/toys/other/mountpoint.c
@@ -8,8 +8,10 @@ config MOUNTPOINT
bool "mountpoint"
default y
help
- usage: mountpoint [-q] [-d] directory
- mountpoint [-q] [-x] device
+ usage: mountpoint [-qd] DIR
+ mountpoint [-qx] DEVICE
+
+ Check whether the directory or device is a mountpoint.
-q Be quiet, return zero if directory is a mountpoint
-d Print major/minor device number of the directory