Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Macao Legacy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
MACAO
Macao Legacy
Commits
6f314a35
Commit
6f314a35
authored
10 months ago
by
Eliott Sammier
Browse files
Options
Downloads
Patches
Plain Diff
Change default version to "full" + help command
parent
dc818218
No related branches found
No related tags found
2 merge requests
!4
Main
,
!1
Main
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mcli
+5
-1
5 additions, 1 deletion
mcli
with
5 additions
and
1 deletion
mcli
+
5
−
1
View file @
6f314a35
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Default value for version env var
# Default value for version env var
if
[[
-z
"
$VERSION
"
]]
;
then
if
[[
-z
"
$VERSION
"
]]
;
then
VERSION
=
"
each
"
VERSION
=
"
full
"
fi
fi
# First parameter overrides version if set
# First parameter overrides version if set
if
[[
"
$1
"
==
"12"
||
"
$1
"
==
"3"
]]
;
then
if
[[
"
$1
"
==
"12"
||
"
$1
"
==
"3"
]]
;
then
...
@@ -304,8 +304,12 @@ status)
...
@@ -304,8 +304,12 @@ status)
echo
""
echo
""
cd
"
$MACAO_ROOT
"
&&
git status
cd
"
$MACAO_ROOT
"
&&
git status
;;
;;
help
)
print_usage
;;
*
)
*
)
echo
"Unknown command '
$action
'"
echo
"Unknown command '
$action
'"
print_usage
print_usage
exit
1
;;
;;
esac
esac
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