github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/commands/version.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: version"
     4  sidebar_current: "docs-commands-version"
     5  description: >
     6    The version command displays Otto's version and build details
     7  ---
     8  
     9  # Command: version
    10  
    11  The `version` command displays build information about the running binary,
    12  including the release version and the exact revision.
    13  
    14  ## Usage
    15  
    16  ```
    17  otto version
    18  ```
    19  
    20  ## Output
    21  
    22  This command prints both the version number as well as the exact commit SHA used
    23  during the build. The SHA may also have the string `+CHANGES` appended to the
    24  end, indicating that local, uncommitted changes were detected at build time.
    25  
    26  ## Examples
    27  
    28  ```
    29  $ otto version
    30  Otto v0.1.0-dev (7881e20f4f9f59ca7e457412766df8b7fab4c16a)
    31  ```