Browse Source

Fixed color output when use --noterm in fatal

pull/103/head
Unknown 11 years ago
parent
commit
167b9fb7e3
  1. 2
      README.md
  2. 2
      gopm.go
  3. 2
      log/logP.go

2
README.md

@ -19,7 +19,7 @@ USAGE:
gopm [global options] command [command options] [arguments...] gopm [global options] command [command options] [arguments...]
VERSION: VERSION:
0.6.0.1206 0.6.0.1209
COMMANDS: COMMANDS:
get fetch remote package(s) and dependencies to local repository get fetch remote package(s) and dependencies to local repository

2
gopm.go

@ -29,7 +29,7 @@ import (
// Test that go1.1 tag above is included in builds. main.go refers to this definition. // Test that go1.1 tag above is included in builds. main.go refers to this definition.
const go11tag = true const go11tag = true
const APP_VER = "0.6.0.1207" const APP_VER = "0.6.0.1209"
// //cmd.CmdSearch, // //cmd.CmdSearch,
// cmdClean, // cmdClean,

2
log/logP.go

@ -32,7 +32,7 @@ func errorP(hl, msg string) {
} }
func fatal(hl, msg string) { func fatal(hl, msg string) {
Error(hl, msg) errorP(hl, msg)
os.Exit(2) os.Exit(2)
} }

Loading…
Cancel
Save