termux-vibrate: Fix help text for --duration

This commit is contained in:
Fredrik Fornwall 2016-04-16 17:14:49 -04:00
parent 2637995c1e
commit 36ff0d1474
1 changed files with 2 additions and 1 deletions

View File

@ -3,8 +3,9 @@
set -e -u
show_usage () {
echo 'usage: termux-vibrate [-f,--force] [<duration_ms>]'
echo 'usage: termux-vibrate [-f,--force] [-d,--duration <duration_ms>]'
echo 'Vibrate the device for the specified duration (default:1000 ms).'
echo ''
echo 'By default no vibration is done when in silent mode - use the'
echo '-f,--force option to force vibration even when in silent mode.'
exit 1