Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
openEuler-Advisor
提交
995d5693
O
openEuler-Advisor
项目概览
openeuler
/
openEuler-Advisor
通知
41
Star
4
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openEuler-Advisor
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
995d5693
编写于
8月 04, 2020
作者:
Z
ZhangYifan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
I1Q01E 参数缩写禁用
上级
95939c54
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
3 deletion
+3
-3
patch-tracking/patch_tracking/cli/patch_tracking_cli.py
patch-tracking/patch_tracking/cli/patch_tracking_cli.py
+3
-3
未找到文件。
patch-tracking/patch_tracking/cli/patch_tracking_cli.py
浏览文件 @
995d5693
...
...
@@ -320,7 +320,7 @@ add_usage = """
%(prog)s --server SERVER --user USER --password PASSWORD --file FILE
%(prog)s --server SERVER --user USER --password PASSWORD --dir DIR"""
parser_add
=
subparsers
.
add_parser
(
'add'
,
parents
=
[
common_parser
,
authentication_parser
],
help
=
"add tracking"
,
usage
=
add_usage
'add'
,
parents
=
[
common_parser
,
authentication_parser
],
help
=
"add tracking"
,
usage
=
add_usage
,
allow_abbrev
=
False
)
parser_add
.
set_defaults
(
func
=
add
)
parser_add
.
add_argument
(
"--version_control"
,
choices
=
[
'github'
],
help
=
"upstream version control system"
)
...
...
@@ -335,7 +335,7 @@ parser_add.add_argument('--dir', help='import patch tracking from files in direc
# delete
del_usage
=
"""
%(prog)s --server SERVER --table TABLE --repo REPO [--branch BRANCH]"""
parser_delete
=
subparsers
.
add_parser
(
'delete'
,
parents
=
[
common_parser
,
authentication_parser
],
help
=
"delete tracking"
)
parser_delete
=
subparsers
.
add_parser
(
'delete'
,
parents
=
[
common_parser
,
authentication_parser
],
help
=
"delete tracking"
,
allow_abbrev
=
False
)
parser_delete
.
set_defaults
(
func
=
delete
)
parser_delete
.
add_argument
(
"--repo"
,
required
=
True
,
help
=
"source package repository"
)
parser_delete
.
add_argument
(
"--branch"
,
help
=
"source package branch"
)
...
...
@@ -343,7 +343,7 @@ parser_delete.add_argument("--branch", help="source package branch")
# query
query_usage
=
"""
%(prog)s --server SERVER --table {tracking,issue} [--repo REPO] [--branch BRANCH]"""
parser_query
=
subparsers
.
add_parser
(
'query'
,
parents
=
[
common_parser
],
help
=
"query tracking/issue"
)
parser_query
=
subparsers
.
add_parser
(
'query'
,
parents
=
[
common_parser
],
help
=
"query tracking/issue"
,
allow_abbrev
=
False
)
parser_query
.
set_defaults
(
func
=
query
)
parser_query
.
add_argument
(
"--table"
,
required
=
True
,
choices
=
[
"tracking"
,
"issue"
],
help
=
"query tracking or issue"
)
parser_query
.
add_argument
(
"--repo"
,
help
=
"source package repository"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录