Skip to content

Commit

Permalink
Merge pull request #2761 from ipfs/feature/DiagOnOnlineOnly-2760
Browse files Browse the repository at this point in the history
Require diag cmds command to run on daemon
  • Loading branch information
whyrusleeping committed May 29, 2016
2 parents da4a4ac + d1b5a4b commit eaaefd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ipfs/ipfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ var cmdDetailsMap = map[*cmds.Command]cmdDetails{
commands.CommandsDaemonCmd: {doesNotUseRepo: true},
commands.VersionCmd: {doesNotUseConfigAsInput: true, doesNotUseRepo: true}, // must be permitted to run before init
commands.LogCmd: {cannotRunOnClient: true},
commands.ActiveReqsCmd: {cannotRunOnClient: true},
commands.RepoFsckCmd: {cannotRunOnDaemon: true},
commands.ConfigCmd.Subcommand("edit"): {cannotRunOnDaemon: true, doesNotUseRepo: true},
}

0 comments on commit eaaefd5

Please sign in to comment.