Coder Social home page Coder Social logo

Comments (3)

tangobravo62 avatar tangobravo62 commented on July 20, 2024

Typing "-v" or "--version" now shows the version information:

prosEO> -v
prosEO Command Line Interface (v0.1.0)
prosEO> --version
prosEO Command Line Interface (v0.1.0)

However, this is not syntactically correct (strictly speaking), "-v" is just meant as a program invocation parameter, not as a standalone command.

TODO: Make "-v", "--version", "-h" and "--help" illegal as standalone commands.

from proseo.

dlr-tangosierra avatar dlr-tangosierra commented on July 20, 2024

In the latest version of the command line interface this is the output:
prosEO> -v
(E2912) Option -v not allowed for command proseo

As such, it is completed as per the "TODO" from the previous comment.

On the other hand, "-h" and "--help" still function.

--version is also functioning but it might be a helpful for the users of prosEO, e.g. in case of a bug the users can easily find which version they are using. Can it be added as a feature?

from proseo.

tangobravo62 avatar tangobravo62 commented on July 20, 2024

Note that the option for showing the version has changed to uppercase V:

prosEO (PTM)> -v
(E2912) Option -v not allowed for command proseo
prosEO (PTM)> -V
prosEO Command Line Interface (v0.1.0)
prosEO (PTM)> --version
prosEO Command Line Interface (v0.1.0)

In line with the comment above by dlr-tangosierra the standalone options -V, --version, -h and --help remain valid inputs, although not strictly covered by the command syntax (note however that calling e. g. <prosEO executable> --version on the shell command line is officially supported).

from proseo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.