Merge "Forward 'help' and '-h' to default implementation for ShellCommand."

This commit is contained in:
Matt Pape
2018-11-01 16:18:35 +00:00
committed by Android (Google) Code Review

View File

@@ -124,7 +124,7 @@ final public class SettingsService extends Binder {
@Override
public int onCommand(String cmd) {
if (cmd == null) {
if (cmd == null || "help".equals(cmd) || "-h".equals(cmd)) {
return handleDefaultCommands(cmd);
}