diff --git a/src/host/translate.cpp b/src/host/translate.cpp index ec2bb3903a66d0be7d4d49d2ede2732e288f3b46..afbc2a1115e55d8bfbce1c16334fcb3b59367fce 100644 --- a/src/host/translate.cpp +++ b/src/host/translate.cpp @@ -101,7 +101,12 @@ namespace TranslateCommand { " -s: remove shared bundle\n" "\n" "debug commands:\n" +#ifdef _WIN32 + " hilog [-h|parse] - Show device log, -h for detail\n" + " parse: parse local hilog files\n" +#else " hilog [-h] - Show device log, -h for detail\n" +#endif " shell [-b bundlename] [COMMAND...] - Run shell command (interactive shell if no command given)\n" " -b: run command in specified debug application bundle path\n" " bundle parameter only support non-interactive shell\n" @@ -213,7 +218,12 @@ namespace TranslateCommand { " -s: remove shared bundle\n" "\n" "debug commands:\n" +#ifdef _WIN32 + " hilog [-h|parse] - Show device log, -h for detail\n" + " parse: parse local hilog files\n" +#else " hilog [-h] - Show device log, -h for detail\n" +#endif " shell [-b bundlename] [COMMAND...] - Run shell command (interactive shell if no command given)\n" " -b: run command in specified debug application bundle path\n" " bundle parameter only support non-interactive shell\n" diff --git a/test/scripts/help.log b/test/scripts/help.log index b5ae7a4631c2494b88334a88d82ec239efd41ca3..4bab4b457e5cfb1717af02f2df82c2ffc06887a1 100644 --- a/test/scripts/help.log +++ b/test/scripts/help.log @@ -74,7 +74,8 @@ app commands: -s: remove shared bundle debug commands: - hilog [-h] - Show device log, -h for detail + hilog [-h|parse] - Show device log, -h for detail + parse: parse local hilog files shell [-b bundlename] [COMMAND...] - Run shell command (interactive shell if no command given) -b: run command in specified debug application bundle path bundle parameter only support non-interactive shell