Skip to content

Commit 0282e37

Browse files
authored
Merge pull request #4 from joglomedia/linux
Add help menu
2 parents af245c7 + fb104a4 commit 0282e37

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/easydock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,12 @@ function ed_bootstrap() {
528528
# Check ed command which requires sudo.
529529
ed_requires_sudo "$@"
530530

531+
# Show usage help
532+
if [ "${menu}" == "help" ]; then
533+
ed_help
534+
exit
535+
fi
536+
531537
# Export env config.
532538
if [ "${menu}" == "init" ]; then
533539
# Check dependencies when ed initialized.

0 commit comments

Comments
 (0)