Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
08031381
Commit
08031381
authored
Nov 30, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: rearrange command help
parent
ca5d65c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
33 deletions
+37
-33
epm
bin/epm
+37
-33
No files found.
bin/epm
View file @
08031381
...
@@ -111,46 +111,26 @@ check_command()
...
@@ -111,46 +111,26 @@ check_command()
-i
|
install
|
add
)
# HELPCMD: install package(s) from remote repositories or from local file
-i
|
install
|
add
)
# HELPCMD: install package(s) from remote repositories or from local file
epm_cmd
=
install
epm_cmd
=
install
;;
;;
reinstall
)
# HELPCMD: reinstall package(s) from remote repositories or from local file
epm_cmd
=
reinstall
;;
-e
|
-P
|
remove|delete
)
# HELPCMD: remove (delete) package(s) from the database and the system
-e
|
-P
|
remove|delete
)
# HELPCMD: remove (delete) package(s) from the database and the system
epm_cmd
=
remove
epm_cmd
=
remove
;;
;;
autoremove
)
# HELPCMD: auto remove unneeded package(s)
-s
|
search
)
# HELPCMD: search in remote package repositories
epm_cmd
=
autoremove
epm_cmd
=
search
;;
-qi
|
info|show
)
# HELPCMD: print package detail info
epm_cmd
=
info
;;
requires|deplist
)
# HELPCMD: print package requires
epm_cmd
=
requires
;;
clean
)
# HELPCMD: clean local package cache
epm_cmd
=
clean
;;
-qa
|
list|packages|-l
)
# HELPCMD: list of installed package(s)
epm_cmd
=
packages
;;
;;
-qp
|
query_package
)
# HELPCMD: search in the list of installed packages
-qp
|
query_package
)
# HELPCMD: search in the list of installed packages
epm_cmd
=
query_package
epm_cmd
=
query_package
;;
;;
update
)
# HELPCMD: update remote package repository databases
-qf
|
which|belongs
)
# HELPCMD: query package(s) owning file
epm_cmd
=
update
epm_cmd
=
query_file
;;
dist-upgrade|upgrade
)
# HELPCMD: performs upgrades of package software distributions
epm_cmd
=
upgrade
;;
;;
-s
|
search
)
# HELPCMD: search in remote package repositories
epm_cmd
=
search
reinstall
)
# HELPCMD: reinstall package(s) from remote repositories or from local file
epm_cmd
=
reinstall
;;
;;
-q
|
installed
)
# HELPCMD: check presence of package(s)
-q
|
installed
)
# HELPCMD: check presence of package(s)
epm_cmd
=
query
epm_cmd
=
query
;;
;;
-qf
|
which|belongs
)
# HELPCMD: query package(s) owning file
-sf
|
sf|filesearch
)
# HELPCMD: search in which package a file is included
epm_cmd
=
query_file
;;
-sf
|
sf|filesearch|search_file
)
# HELPCMD: search in which package a file is included
epm_cmd
=
search_file
epm_cmd
=
search_file
;;
;;
-ql
|
filelist
)
# HELPCMD: print package file list
-ql
|
filelist
)
# HELPCMD: print package file list
...
@@ -159,14 +139,21 @@ check_command()
...
@@ -159,14 +139,21 @@ check_command()
check|fix|verify
)
# HELPCMD: check local package base integrity and fix it
check|fix|verify
)
# HELPCMD: check local package base integrity and fix it
epm_cmd
=
check
epm_cmd
=
check
;;
;;
checkpkg|integrity
)
# HELPCMD: check package integrity
epm_cmd
=
checkpkg
;;
changelog|cl
)
# HELPCMD: show changelog for package
changelog|cl
)
# HELPCMD: show changelog for package
epm_cmd
=
changelog
epm_cmd
=
changelog
;;
;;
simulate
)
# HELPCMD: simulate install (check requires)
-qi
|
info|show
)
# HELPCMD: print package detail info
epm_cmd
=
simulate
epm_cmd
=
info
;;
requires|deplist
)
# HELPCMD: print package requires
epm_cmd
=
requires
;;
-qa
|
list|packages|-l
)
# HELPCMD: list of installed package(s)
epm_cmd
=
packages
;;
update
)
# HELPCMD: update remote package repository databases
epm_cmd
=
update
;;
;;
addrepo|ar
)
# HELPCMD: add package repo
addrepo|ar
)
# HELPCMD: add package repo
epm_cmd
=
addrepo
epm_cmd
=
addrepo
...
@@ -177,6 +164,23 @@ check_command()
...
@@ -177,6 +164,23 @@ check_command()
removerepo|rr
)
# HELPCMD: remove package repo
removerepo|rr
)
# HELPCMD: remove package repo
epm_cmd
=
removerepo
epm_cmd
=
removerepo
;;
;;
clean
)
# HELPCMD: clean local package cache
epm_cmd
=
clean
;;
autoremove
)
# HELPCMD: auto remove unneeded package(s)
epm_cmd
=
autoremove
;;
upgrade|dist-upgrade
)
# HELPCMD: performs upgrades of package software distributions
epm_cmd
=
upgrade
;;
simulate
)
# HELPCMD: simulate install (it does check requires, minimally)
epm_cmd
=
simulate
;;
checkpkg|integrity
)
# HELPCMD: check package integrity
epm_cmd
=
checkpkg
;;
*
)
*
)
return
1
return
1
;;
;;
...
...
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