mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
docs(imageview): 修正帮助信息中的字符串格式
使用多行字符串语法([[ ]])替代直接换行,提高代码可读性并避免潜在的语法问题
This commit is contained in:
@@ -10,9 +10,10 @@ local function printHelp()
|
|||||||
print("Usage: imageview <image_url>")
|
print("Usage: imageview <image_url>")
|
||||||
print("Options:")
|
print("Options:")
|
||||||
print(" --help, -h Show this help message")
|
print(" --help, -h Show this help message")
|
||||||
print("
|
print([[
|
||||||
Displays an image from the specified URL.
|
Displays an image from the specified URL.
|
||||||
Press ESC to exit back to shell.")
|
Press ESC to exit back to shell.
|
||||||
|
]])
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 下载图片函数
|
-- 下载图片函数
|
||||||
|
|||||||
Reference in New Issue
Block a user