Skip to content

Commit a079d65

Browse files
rjpadilladogi
andauthored
treehouses shutdown english (fixes #2048) (#2052)
Co-authored-by: dogi <dogi@users.noreply.github.com>
1 parent 7825c20 commit a079d65

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/shutdown.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ function shutdown {
33
checkroot
44
case "$1" in
55
"")
6-
echo "Shutting down in 60 seconds. Press crtl+c to cancel"
6+
echo "Shutting down in 60 seconds. Press ctrl+c to cancel."
77
sleep 60
88
/sbin/shutdown now
99
;;
1010
"now")
1111
/sbin/shutdown now
1212
;;
1313
"in")
14-
echo "Shutting down in $2 seconds. Press crtl+c to cancel"
14+
echo "Shutting down in $2 seconds. Press ctrl+c to cancel."
1515
sleep "$2"
1616
/sbin/shutdown now
1717
;;
1818
"force")
1919
/sbin/shutdown -f
2020
;;
2121
*)
22-
echo "Error: only now, in and force options are supported"
22+
echo "Error: only the options 'now', 'in', and 'force' are supported."
2323
;;
2424
esac
2525
}
@@ -32,13 +32,13 @@ function shutdown_help {
3232
echo
3333
echo "Example:"
3434
echo " $BASENAME shutdown"
35-
echo " System shutdown in 60 seconds. 'ctrl+c' to cancel"
35+
echo " System shutdown in 60 seconds. Press ctrl+c to cancel."
3636
echo
3737
echo " $BASENAME shutdown now"
3838
echo " System shutdown immediately"
3939
echo
4040
echo " $BASENAME shutdown in <time in seconds>"
41-
echo " System will shutdown after the specified time. 'ctrl+c' to cancel"
41+
echo " System will shutdown after the specified time. Press ctrl+c to cancel."
4242
echo
4343
echo " $BASENAME shutdown force"
4444
echo " System will force shutdown"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@treehouses/cli",
3-
"version": "1.25.10",
3+
"version": "1.25.11",
44
"remote": "4000",
55
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
66
"main": "cli.sh",

0 commit comments

Comments
 (0)