mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-16 12:44:36 +00:00
Merge pull request #212 from revel/build_process_update
Updated verbose flag
This commit is contained in:
@@ -309,6 +309,14 @@ func (c *CommandConfig) initGoPaths() {
|
||||
*/
|
||||
}
|
||||
|
||||
// Sets the versions on the command config.
|
||||
func (c *CommandConfig) GetVerbose() (verbose bool) {
|
||||
if len(c.Verbose) > 0 {
|
||||
verbose = c.Verbose[0]
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Sets the versions on the command config.
|
||||
func (c *CommandConfig) SetVersions() (err error) {
|
||||
c.CommandVersion, _ = ParseVersion(cmd.Version)
|
||||
|
||||
Reference in New Issue
Block a user