Skip to content

Commit

Permalink
Fixed bug with wrong skip flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Apr 23, 2020
1 parent 062caab commit 9eef7f5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion cmd/p2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Read more at: `+chalk.Cyan.Color("https://docs.moneybutton.com/docs/paymail-07-p

// Attempt to get a bitpic (if enabled)
var bitPicURL string
if !skipPublicProfile {
if !skipBitpic {
if bitPicURL, err = getBitPic(parts[0], domain); err != nil {
chalker.Log(chalker.ERROR, fmt.Sprintf("Checking for bitpic failed: %s", err.Error()))
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Read more at: `+chalk.Cyan.Color("http://bsvalias.org/04-01-basic-address-resolu

// Attempt to get a bitpic (if enabled)
var bitPicURL string
if !skipPublicProfile {
if !skipBitpic {
if bitPicURL, err = getBitPic(parts[0], domain); err != nil {
chalker.Log(chalker.ERROR, fmt.Sprintf("Checking for bitpic failed: %s", err.Error()))
}
Expand Down
48 changes: 24 additions & 24 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,30 @@ import (

// Default flag values for various commands
var (
amount uint64
brfcAuthor string
brfcTitle string
brfcVersion string
configFile string
generateDocs bool
nameServer string
port int
priority int
protocol string
purpose string
satoshis uint64
serviceName string
signature string
skipBitpic bool
skipBrfcValidation bool
skipDnsCheck bool
skipPki bool
skipPublicProfile bool
skipRoundesk bool
skipSrvCheck bool
skipSSLCheck bool
skipTracing bool
weight int
amount uint64 // cmd: resolve
brfcAuthor string // cmd: brfc
brfcTitle string // cmd: brfc
brfcVersion string // cmd: brfc
configFile string // cmd: root
generateDocs bool // cmd: root
nameServer string // cmd: validate
port int // cmd: validate
priority int // cmd: validate
protocol string // cmd: validate
purpose string // cmd: resolve
satoshis uint64 // cmd: resolve
serviceName string // cmd: validate
signature string // cmd: resolve
skipBitpic bool // cmd: resolve
skipBrfcValidation bool // cmd: brfc
skipDnsCheck bool // cmd: validate
skipPki bool // cmd: resolve
skipPublicProfile bool // cmd: resolve
skipRoundesk bool // cmd: resolve
skipSrvCheck bool // cmd: validate
skipSSLCheck bool // cmd: validate
skipTracing bool // cmd: root
weight int // cmd: validate
)

// Defaults for the application
Expand Down

0 comments on commit 9eef7f5

Please sign in to comment.