Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ncu-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
RECRUIT
ncu-python
Commits
43a8a729
Commit
43a8a729
authored
1 year ago
by
Bram Veenboer
Browse files
Options
Downloads
Patches
Plain Diff
Change the order in which the flags appear with --help
parent
500a6d53
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+5
-4
5 additions, 4 deletions
main.py
with
5 additions
and
4 deletions
main.py
+
5
−
4
View file @
43a8a729
...
@@ -19,27 +19,28 @@ def get_argument_parser():
...
@@ -19,27 +19,28 @@ def get_argument_parser():
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"
--kernel
"
,
"
-k
"
,
type
=
str
,
required
=
False
,
help
=
"
Specify the kernel name
"
"
-k
"
,
"
--kernel
"
,
type
=
str
,
required
=
False
,
help
=
"
Specify the kernel name
"
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"
--mock
"
,
"
-m
"
,
"
-m
"
,
"
--mock
"
,
type
=
str
,
type
=
str
,
help
=
"
Specify mock input file to use instead of profiling output
"
,
help
=
"
Specify mock input file to use instead of profiling output
"
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"
--output
"
,
"
-o
"
,
type
=
str
,
help
=
"
Write full profiling output to file
"
"
-o
"
,
"
--output
"
,
type
=
str
,
help
=
"
Write full profiling output to file
"
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"
--quiet
"
,
"
-q
"
,
"
-q
"
,
"
--quiet
"
,
default
=
False
,
default
=
False
,
action
=
"
store_true
"
,
action
=
"
store_true
"
,
help
=
"
Print profiling output only
"
,
help
=
"
Print profiling output only
"
,
)
)
return
parser
return
parser
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment