Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
archlinux
agetpkg
Commits
df88fb24
Commit
df88fb24
authored
Sep 10, 2020
by
Seblu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NAME global as program name
parent
94561942
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
agetpkg
agetpkg
+1
-1
No files found.
agetpkg
View file @
df88fb24
...
@@ -327,7 +327,7 @@ def install_packages(packages, select_all=False):
...
@@ -327,7 +327,7 @@ def install_packages(packages, select_all=False):
def
parse_argv
():
def
parse_argv
():
'''Parse command line arguments'''
'''Parse command line arguments'''
local_arch
=
uname
().
machine
local_arch
=
uname
().
machine
p_main
=
ArgumentParser
()
p_main
=
ArgumentParser
(
prog
=
NAME
)
# update index options
# update index options
g_update
=
p_main
.
add_mutually_exclusive_group
()
g_update
=
p_main
.
add_mutually_exclusive_group
()
g_update
.
add_argument
(
"-u"
,
"--force-update"
,
g_update
.
add_argument
(
"-u"
,
"--force-update"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment