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

View File

@ -3,8 +3,9 @@
set -e -u set -e -u
show_usage () { 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 '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 'By default no vibration is done when in silent mode - use the'
echo '-f,--force option to force vibration even when in silent mode.' echo '-f,--force option to force vibration even when in silent mode.'
exit 1 exit 1