Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c96195c authored by JW Wang's avatar JW Wang Committed by Chun-Wei Wang
Browse files

Add help text for the --factory-only option

Bug: 225756739
Test: adb shell pm
Change-Id: I338a7be31467b57e6d965dbf4133a81472231eb1
parent f7d44e5e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3902,7 +3902,8 @@ class PackageManagerShellCommand extends ShellCommand {
        pw.println("    Prints all system libraries.");
        pw.println("");
        pw.println("  list packages [-f] [-d] [-e] [-s] [-3] [-i] [-l] [-u] [-U] ");
        pw.println("      [--show-versioncode] [--apex-only] [--uid UID] [--user USER_ID] [FILTER]");
        pw.println("      [--show-versioncode] [--apex-only] [--factory-only]");
        pw.println("      [--uid UID] [--user USER_ID] [FILTER]");
        pw.println("    Prints all packages; optionally only those whose name contains");
        pw.println("    the text in FILTER.  Options are:");
        pw.println("      -f: see their associated file");
@@ -3917,6 +3918,7 @@ class PackageManagerShellCommand extends ShellCommand {
        pw.println("      -u: also include uninstalled packages");
        pw.println("      --show-versioncode: also show the version code");
        pw.println("      --apex-only: only show APEX packages");
        pw.println("      --factory-only: only show system packages excluding updates");
        pw.println("      --uid UID: filter to only show packages with the given UID");
        pw.println("      --user USER_ID: only list packages belonging to the given user");
        pw.println("");