From b7e6e16cedbb8d06f9036386e7232f55150dfbd4 Mon Sep 17 00:00:00 2001 From: z30053788 Date: Thu, 25 Apr 2024 18:07:26 +0800 Subject: [PATCH] update Signed-off-by: z30053788 Change-Id: I486d9442a3f8a50a7c15cae78ed21ac0490a0be2 --- .../dump/notification_shell_command_dump_test.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/test/unittest/dump/notification_shell_command_dump_test.cpp b/tools/test/unittest/dump/notification_shell_command_dump_test.cpp index bd6e386fc..796267703 100644 --- a/tools/test/unittest/dump/notification_shell_command_dump_test.cpp +++ b/tools/test/unittest/dump/notification_shell_command_dump_test.cpp @@ -61,14 +61,16 @@ static char g_enableErrorInformation[] = "error: option 'e' requires a value.\nusage: anm setting []\noptions list:\n" " --help, -h help menu\n" " --recent-count -c set the max count of recent notifications keeping in memory\n --enable-notification" -" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n"; +" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n" +" --set-device-status -d set device status, eg: -d device:1\n"; static char g_enableBundleNameNull[] = "error: setting information error\n" "usage: anm setting []\n" "options list:\n --help, -h help menu\n" " --recent-count -c set the max count of recent notifications keeping in memory\n --enable-notification" -" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n"; +" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n" +" --set-device-status -d set device status, eg: -d device:1\n"; static char g_enableObjectNull[] = "error: object is null\n" @@ -76,7 +78,8 @@ static char g_enableObjectNull[] = "usage: anm setting []\n" "options list:\n --help, -h help menu\n" " --recent-count -c set the max count of recent notifications keeping in memory\n --enable-notification" -" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n"; +" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n" +" --set-device-status -d set device status, eg: -d device:1\n"; static char g_unknownOption[] = "error: unknown option.\n" @@ -94,7 +97,8 @@ static char g_dumpActiveCount[] = "options list:\n" " --help, -h help menu\n" " --recent-count -c set the max count of recent notifications keeping in memory\n --enable-notification" -" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n"; +" -e set notification enabled for the bundle, eg: -e com.example:10100:1\n" +" --set-device-status -d set device status, eg: -d device:1\n"; static char g_helpMsg[] = "error: unknown option.\n" -- Gitee