Skip to content

Commit de0bf8b

Browse files
sganovAndroid Git Automerger
authored andcommitted
am abb4a70: Update the content shell command\'s usage instructions.
* commit 'abb4a7008a1f5eab6cfaf7e9dd4779e549c21714': Update the content shell command's usage instructions.
2 parents 7be52cb + abb4a70 commit de0bf8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmds/content/src/com/android/commands/content/Content.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ public class Content {
8383
+ " Example:\n"
8484
+ " # Change \"new_setting\" secure setting to \"newer_value\".\n"
8585
+ " adb shell content update --uri content://settings/secure --bind"
86-
+ " value:s:newer_value --where \"name=\'new_setting\'\"\n"
86+
+ " value:s:newer_value --where \"name=\\'new_setting\\'\"\n"
8787
+ "\n"
8888
+ "usage: adb shell content delete --uri <URI> [--user <USER_ID>] --bind <BINDING>"
8989
+ " [--bind <BINDING>...] [--where <WHERE>]\n"
9090
+ " Example:\n"
9191
+ " # Remove \"new_setting\" secure setting.\n"
9292
+ " adb shell content delete --uri content://settings/secure "
93-
+ "--where \"name=\'new_setting\'\"\n"
93+
+ "--where \"name=\\'new_setting\\'\"\n"
9494
+ "\n"
9595
+ "usage: adb shell content query --uri <URI> [--user <USER_ID>]"
9696
+ " [--projection <PROJECTION>] [--where <WHERE>] [--sort <SORT_ORDER>]\n"
@@ -101,7 +101,7 @@ public class Content {
101101
+ " # Select \"name\" and \"value\" columns from secure settings where \"name\" is "
102102
+ "equal to \"new_setting\" and sort the result by name in ascending order.\n"
103103
+ " adb shell content query --uri content://settings/secure --projection name:value"
104-
+ " --where \"name=\'new_setting\'\" --sort \"name ASC\"\n"
104+
+ " --where \"name=\\'new_setting\\'\" --sort \"name ASC\"\n"
105105
+ "\n";
106106

107107
private static class Parser {

0 commit comments

Comments
 (0)