Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
installsystems
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Seblu
installsystems
Commits
a719e44b
Commit
a719e44b
authored
13 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
installsystems version is option -V not -v
parent
338fa15a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/isimage
+1
-1
1 addition, 1 deletion
bin/isimage
bin/isinstall
+4
-4
4 additions, 4 deletions
bin/isinstall
bin/isrepo
+1
-1
1 addition, 1 deletion
bin/isrepo
with
6 additions
and
6 deletions
bin/isimage
+
1
−
1
View file @
a719e44b
...
...
@@ -53,7 +53,7 @@ def build(options):
# Top level argument parsing
p_main
=
argparse
.
ArgumentParser
()
p_main
.
add_argument
(
"
-
v
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
p_main
.
add_argument
(
"
-
V
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
help
=
"
show installsystems version
"
)
p_main
.
add_argument
(
'
-d
'
,
"
--debug
"
,
action
=
DebugAction
,
nargs
=
0
,
help
=
"
active debug mode
"
)
...
...
This diff is collapsed.
Click to expand it.
bin/isinstall
+
4
−
4
View file @
a719e44b
...
...
@@ -22,7 +22,7 @@ class DebugAction(argparse.Action):
# Top level argument parsing
p_main
=
argparse
.
ArgumentParser
()
p_main
.
add_argument
(
"
-
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
p_main
.
add_argument
(
"
-
V
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
help
=
"
show installsystems version
"
)
p_main
.
add_argument
(
'
-d
'
,
"
--debug
"
,
action
=
DebugAction
,
nargs
=
0
,
help
=
"
active debug mode
"
)
...
...
@@ -35,12 +35,12 @@ p_main.add_argument("-D", "--data-path", dest="data_path", type=str, default=Non
p_main
.
add_argument
(
"
-C
"
,
"
--cache-path
"
,
dest
=
"
cache_path
"
,
type
=
str
,
default
=
"
/var/cache/isinstall
"
,
help
=
"
local cache repository path
"
)
p_main
.
add_argument
(
"
-
V
"
,
"
--image-version
"
,
dest
=
"
image_version
"
,
type
=
int
,
default
=
None
,
p_main
.
add_argument
(
"
-
v
"
,
"
--image-version
"
,
dest
=
"
image_version
"
,
type
=
int
,
default
=
None
,
help
=
"
specific image version
"
)
p_main
.
add_argument
(
"
image_name
"
,
type
=
str
,
help
=
"
image to install
"
)
p_main
.
add_argument
(
'
-u
'
,
"
--update
"
,
action
=
"
store_true
"
,
dest
=
"
update
"
,
default
=
False
,
help
=
"
update repository cache
"
)
p_main
.
add_argument
(
"
image_name
"
,
type
=
str
,
help
=
"
image to install (path or name)
"
)
# program entry point
try
:
...
...
This diff is collapsed.
Click to expand it.
bin/isrepo
+
1
−
1
View file @
a719e44b
...
...
@@ -50,7 +50,7 @@ def delete(options):
# Top level argument parsing
p_main
=
argparse
.
ArgumentParser
()
p_main
.
add_argument
(
"
-
v
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
p_main
.
add_argument
(
"
-
V
"
,
"
--version
"
,
action
=
"
version
"
,
version
=
installsystems
.
version
,
help
=
"
show installsystems version
"
)
p_main
.
add_argument
(
'
-d
'
,
"
--debug
"
,
action
=
DebugAction
,
nargs
=
0
,
help
=
"
active debug mode
"
)
...
...
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