Skip to content

add command line option for version #334

@piccione99

Description

@piccione99

Currently if you run xmidt-agent --help, you get below:

mpicci200@RESML-1722218 xmidt-agent % ./xmidt-agent --help
Usage: xmidt-agent [flags]

The cpe agent for Xmidt service.

Version:  undefined
Date:     undefined
Commit:   undefined
Built By: undefined

Not sure if these values are just not hooked up or you need a release version. Eithe way, --version is pretty standard and should probably be an option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions