Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add commandline option #151

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

Decodetalkers
Copy link
Contributor

for debug

Log:

@Decodetalkers
Copy link
Contributor Author

方便debug

@Decodetalkers Decodetalkers requested review from BLumia and a team August 25, 2023 07:02
@@ -27,6 +27,18 @@ int main(int argc, char *argv[])
app->setApplicationName("dde-clipboard");
app->setApplicationDisplayName("DDE Clipboard");
app->setApplicationVersion("1.0");

QCommandLineOption alwaysshowOption("alwaysShow" , "show and will never hide");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一般的 cli 参数的格式是用连字符分隔词的吧,"always-show",实际用法 --always-show

另外,变量名也不是驼峰, alwaysShowOption

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好了

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, Decodetalkers

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Decodetalkers
Copy link
Contributor Author

/merge

@deepin-bot deepin-bot bot merged commit 01bd844 into linuxdeepin:master Aug 29, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants