Skip to content

Commit

Permalink
Added: Show start-activity, start-service and stop-service alte…
Browse files Browse the repository at this point in the history
…rnatives in help output that were added in d9da5c0
  • Loading branch information
agnostic-apollo committed Dec 23, 2023
1 parent 24bcc8d commit d8d6f23
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/main/java/com/termux/termuxam/Am.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ public void onShowUsage(PrintStream out) {
"am: Options are:\n" +
" -h | --help: Show help" +
"\n" +
"am start: start an Activity. Options are:\n" +
"am start|start-activity: start an Activity.\n" +
"Options are:\n" +
" -D: enable debugging\n" +
" -N: enable native debugging\n" +
" -W: wait for launch to complete\n" +
Expand All @@ -186,7 +187,8 @@ public void onShowUsage(PrintStream out) {
// - https://cs.android.com/android/_/android/platform/frameworks/base/+/7b97a0267b61485e808da6b1edf904ae653c2541
// - https://cs.android.com/android/_/android/platform/frameworks/base/+/d016285dd1a368f7eec532fb82c01dcee0c4bcf1
"\n" +
"am startservice: start a Service. Options are:\n" +
"am startservice|start-service: start a Service.\n" +
"Options are:\n" +
" --user <USER_ID> | current: Specify which user to run as; if not\n" +
" specified then run as the current user.\n" +
" --check-draw-over-apps-permission: Check if calling package has\n" +
Expand All @@ -196,7 +198,8 @@ public void onShowUsage(PrintStream out) {
// - https://cs.android.com/android/_/android/platform/frameworks/base/+/20f42909f8186639bcc9dba77791171e3966be88
// - https://cs.android.com/android/_/android/platform/frameworks/base/+/6706c1acc0eb1e8b30721940fe39b572edc225c2
"\n" +
"am stopservice: stop a Service. Options are:\n" +
"am stopservice|stop-service: stop a Service.\n" +
"Options are:\n" +
" --user <USER_ID> | current: Specify which user to run as; if not\n" +
" specified then run as the current user.\n" +
"\n" +
Expand Down

0 comments on commit d8d6f23

Please sign in to comment.