aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-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