alces-software / metalware

Tools and conventions for improving bare metal machine management
Other
2 stars 0 forks source link

Add a method to error if no arguments are provided #416

Closed atoghill closed 6 years ago

atoghill commented 6 years ago

Currently running metal view with no arguments throws out the error message for an incorrect input for [ALCES_COMMAND]. However this isn't particularly helpful when no argument has been provided.

This PR implements a method within View that raises an error in this case.

See #285 for full details on the issue

WilliamMcCumstie commented 6 years ago

There is a simpler way to fix the issue: https://github.com/alces-software/metalware/pull/417/commits/fc0c573acfd90028eb01dc0e7552663e19d6e99c