Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
87b092e8
Commit
87b092e8
authored
May 24, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update help command to use a local instead of an instance variable as suggested by @jam7.
parent
6c483710
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
crew
crew
+6
-6
No files found.
crew
View file @
87b092e8
...
...
@@ -70,7 +70,7 @@ def search (pkgName, silent = false)
end
def
help
(
pkgName
)
case
@
pkgName
case
pkgName
when
"build"
puts
"Build a package."
puts
"Usage: crew build [package]"
...
...
@@ -581,14 +581,14 @@ when "whatprovides"
if
@pkgName
whatprovides
@pkgName
else
help
@pkgName
=
"whatprovides"
help
"whatprovides"
end
when
"download"
if
@pkgName
search
@pkgName
download
else
help
@pkgName
=
"download"
help
"download"
end
when
"update"
update
...
...
@@ -599,20 +599,20 @@ when "install"
search
@pkgName
resolve_dependencies_and_install
else
help
@pkgName
=
"install"
help
"install"
end
when
"build"
if
@pkgName
search
@pkgName
resolve_dependencies_and_build
else
help
@pkgName
=
"build"
help
"build"
end
when
"remove"
if
@pkgName
remove
@pkgName
else
help
@pkgName
=
"remove"
help
"remove"
end
when
nil
puts
"Chromebrew, version 0.4.2"
...
...
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