Commit 3ab1c90c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repo: change order of commands in the help

parent 2874b087
...@@ -60,22 +60,6 @@ epm_repo() ...@@ -60,22 +60,6 @@ epm_repo()
load_helper epm-repofix load_helper epm-repofix
epm_reposwitch "$@" epm_reposwitch "$@"
;; ;;
index) # HELPCMD: index repo: [--init] [path] [name]
load_helper epm-repoindex
epm_repoindex "$@"
;;
pkgadd) # HELPCMD: add to <dir> applied <package-filename1> [<package-filename2>...]
load_helper epm-repopkg
epm_repo_pkgadd "$@"
;;
pkgupdate) # HELPCMD: replace in <dir> with new <package-filename1> [<package-filename2>...]
load_helper epm-repopkg
epm_repo_pkgupdate "$@"
;;
pkgdel) # HELPCMD: del from <dir> <package1> [<package2>...]
load_helper epm-repopkg
epm_repo_pkgdel "$@"
;;
enable) # HELPCMD: enable <repo> enable) # HELPCMD: enable <repo>
load_helper epm-repoenable load_helper epm-repoenable
epm_repoenable "$@" epm_repoenable "$@"
...@@ -84,6 +68,10 @@ epm_repo() ...@@ -84,6 +68,10 @@ epm_repo()
load_helper epm-repodisable load_helper epm-repodisable
epm_repodisable "$@" epm_repodisable "$@"
;; ;;
addkey) # HELPCMD: add repository gpg key
load_helper epm-addrepo
epm_addkey "$@"
;;
clean) # HELPCMD: remove temp. repos (tasks and CD-ROMs) clean) # HELPCMD: remove temp. repos (tasks and CD-ROMs)
# TODO: check for ALT # TODO: check for ALT
sudocmd apt-repo $dryrun clean sudocmd apt-repo $dryrun clean
...@@ -109,10 +97,6 @@ epm_repo() ...@@ -109,10 +97,6 @@ epm_repo()
epm_addrepo "$@" epm_addrepo "$@"
epm update epm update
;; ;;
addkey) # HELPCMD: add repository gpg key
load_helper epm-addrepo
epm_addkey "$@"
;;
rm|remove) # HELPCMD: remove repository from the sources lists (epm repo remove all for all) rm|remove) # HELPCMD: remove repository from the sources lists (epm repo remove all for all)
load_helper epm-removerepo load_helper epm-removerepo
epm_removerepo "$@" epm_removerepo "$@"
...@@ -120,6 +104,22 @@ epm_repo() ...@@ -120,6 +104,22 @@ epm_repo()
comment) # HELPCMD: comment out repository line from the sources lists comment) # HELPCMD: comment out repository line from the sources lists
load_helper epm-commentrepo load_helper epm-commentrepo
epm_commentrepo "$@" epm_commentrepo "$@"
index) # HELPCMD: index repo: [--init] [path] [name]
load_helper epm-repoindex
epm_repoindex "$@"
;;
pkgadd) # HELPCMD: add to <dir> applied <package-filename1> [<package-filename2>...]
load_helper epm-repopkg
epm_repo_pkgadd "$@"
;;
pkgupdate) # HELPCMD: replace in <dir> with new <package-filename1> [<package-filename2>...]
load_helper epm-repopkg
epm_repo_pkgupdate "$@"
;;
pkgdel) # HELPCMD: del from <dir> <package1> [<package2>...]
load_helper epm-repopkg
epm_repo_pkgdel "$@"
;; ;;
*) *)
fatal "Unknown command $ epm repo '$CMD'" fatal "Unknown command $ epm repo '$CMD'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment