Merge pull request #740 from abperiasamy/rename-register-cmd

rename to registerCmd
This commit is contained in:
Anand Babu (AB) Periasamy
2015-06-05 22:20:29 -07:00
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ var (
// Add your new flags starting here
)
// registerCommand registers a cli command
func registerCommand(cmd cli.Command) {
// registerCmd registers a cli command
func registerCmd(cmd cli.Command) {
commands = append(commands, cmd)
}
+9 -9
View File
@@ -99,15 +99,15 @@ var Version = mustHashBinarySelf()
func main() {
// register all the commands
registerCommand(lsCmd) // List contents of a bucket
registerCommand(mbCmd) // make a bucket
registerCommand(catCmd) // concantenate an object to standard output
registerCommand(cpCmd) // copy objects and files from multiple sources to single destination
registerCommand(syncCmd) // copy objects and files from single source to multiple destionations
registerCommand(diffCmd) // compare two objects
registerCommand(accessCmd) // set permissions [public, private, readonly, authenticated] for buckets and folders.
registerCommand(configCmd) // generate configuration "/home/harsha/.mc/config.json" file.
registerCommand(updateCmd) // update Check for new software updates
registerCmd(lsCmd) // List contents of a bucket
registerCmd(mbCmd) // make a bucket
registerCmd(catCmd) // concantenate an object to standard output
registerCmd(cpCmd) // copy objects and files from multiple sources to single destination
registerCmd(syncCmd) // copy objects and files from single source to multiple destionations
registerCmd(diffCmd) // compare two objects
registerCmd(accessCmd) // set permissions [public, private, readonly, authenticated] for buckets and folders.
registerCmd(configCmd) // generate configuration "/home/harsha/.mc/config.json" file.
registerCmd(updateCmd) // update Check for new software updates
// register all the flags
registerFlag(quietFlag) // suppress console output