Skip to content

deepin-terminal 终端选项中出现无关信息 #12786

@qaqland

Description

@qaqland

SUMMARY | 问题概要

deepin-terminal 终端选项中出现无关信息,包括 -h -v 等

SOFTWARE/OS VERSIONS | 软件/系统版本信息

deepin-terminal 6.5.26

PRE-REQUIREMENT | 预置条件

STEPS TO REPRODUCE | 复现步骤

终端执行 --help

OBSERVED RESULT | 观察到的结果

$ deepin-terminal -h
System is not in immutable mode. Output was: "Immutable mode:false"
setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance
org.deepin.terminal: TerminalApplication initialized, start time: 1770188105810
用法:deepin-terminal [选项]
终端是一款集工作区、多窗口、远程管理、雷神模式等功能的高级终端模拟器。

选项:
  -h, --help                      在命令行选项上显示帮助。
  --help-all                      Displays help, including generic Qt options.
  -v, --version                   显示版本信息。
  -w, --work-directory <path>     设置终端的启动目录
  -e, --execute <command>         在终端中运行⼀个程序
  -q, --quake-mode                设置终端以雷神模式启动
  -m, --window-mode <state-mode>  设置终端开启的模式 (normal, maximum, fullscreen,
                                  splitscreen)
  --keep-open                     设置终端显示命令或脚本执行后的结果
  -C, --run-script <script>       在终端中允许脚本字符串

有大量无关输出

EXPECTED RESULT | 期望的结果

$ deepin-terminal -h
用法:deepin-terminal [选项]
终端是一款集工作区、多窗口、远程管理、雷神模式等功能的高级终端模拟器。

选项:
  -h, --help                      在命令行选项上显示帮助。
  --help-all                      Displays help, including generic Qt options.
  -v, --version                   显示版本信息。
  -w, --work-directory <path>     设置终端的启动目录
  -e, --execute <command>         在终端中运行⼀个程序
  -q, --quake-mode                设置终端以雷神模式启动
  -m, --window-mode <state-mode>  设置终端开启的模式 (normal, maximum, fullscreen,
                                  splitscreen)
  --keep-open                     设置终端显示命令或脚本执行后的结果
  -C, --run-script <script>       在终端中允许脚本字符串

ADDITIONAL INFORMATION | 额外补充

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions