You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/18 17:45:55 UTC

[GitHub] mrutkows opened a new issue #505: Only show full path/filename on error/warning messages if -v (--verbose) set to True

mrutkows opened a new issue #505: Only show full  path/filename on error/warning messages if -v (--verbose) set to True
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/505
 
 
   
   I like very much that we display the filename after the word "Error: "; however, it pushes the error code and description off the screen.
   
   ```
   Error: /Users/Matt/go/src/github.com/apache/incubator-openwhisk-wskdeploy/cmd/root.go [235]: Invalid input of Yaml file =====> Missing manifest.yaml/manifest.yml file.
   ```
   
   is there a way to detect if -v --verbose flag is set and in this case display the full path/file name (as it does now), buf if verbose flag is NOT set then we only display the relative path name?
   
   for example, if -v or --verbose were NOT set we would see:
   ```
   Error: /cmd/root.go [235]: Invalid input of Yaml file =====> Missing manifest.yaml/manifest.yml file.
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services