--version?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Watson

    #1

    --version?

    Is there any chance that Python would support the --version command line
    parameter? It seems that many open source programs use this switch to
    report their version number.
  • Adonis

    #2
    Re: --version?

    Paul Watson wrote:[color=blue]
    > Is there any chance that Python would support the --version command line
    > parameter? It seems that many open source programs use this switch to
    > report their version number.[/color]


    try at a command prompt:
    python -V

    Hope this helps.

    Adonis

    Comment

    • Paul Watson

      #3
      Re: --version?

      Adonis wrote:[color=blue]
      > Paul Watson wrote:
      >[color=green]
      >> Is there any chance that Python would support the --version command
      >> line parameter? It seems that many open source programs use this
      >> switch to report their version number.[/color]
      >
      >
      >
      > try at a command prompt:
      > python -V
      >
      > Hope this helps.
      >
      > Adonis[/color]

      I am well aware of -V. Could --version be supported as well?

      Comment

      • gry@ll.mit.edu

        #4
        Re: --version?

        I agree. The "--version" option has become quite a de-facto standard
        in the linux world. In my sys-admin role, I can blithely run
        initiate_global _thermonuclear_ war --version
        to find what version we have, even if I don't know what it does...

        python --version

        would be a very helpful addition. (Keep the "-V" too, if you like it
        :-)

        -- George

        Comment

        • Fredrik Lundh

          #5
          Re: --version?

          Paul Watson wrote:
          [color=blue]
          > I am well aware of -V. Could --version be supported as well?[/color]


          http://sourceforge.net/tracker/?grou...70&atid=355470

          </F>



          Comment

          • Heiko Wundram

            #6
            Re: --version?

            Am Dienstag 02 Mai 2006 16:31 schrieb Fredrik Lundh:[color=blue]
            > Paul Watson wrote:[color=green]
            > > I am well aware of -V. Could --version be supported as well?[/color]
            >
            > http://www.python.org/dev/
            > http://sourceforge.net/tracker/?grou...70&atid=355470
            >
            > </F>[/color]

            I just submitted:

            https://sourceforge.net/tracker/inde...70&atid=305470

            The patch implements long option support in _PyOS_GetOpt.

            --- Heiko.

            Comment

            Working...