so I have updated what you have suggested:
- command name shortened to "ver"
- "hw_ver" replaced by "ver hwcmp"
- "hw_ver" command removed
- nsh scripts using hw_ver updated

pls check and if agree merge
thx, ufon

On 26.4.2014 09:55, Julian Oes wrote:
>
> In src/systemcmds/version/version.c:
>
> > + * Version nsh command, unified way of showing versions of HW, SW, Build, Toolchain etc
> > + */
> > +
> > +#include <nuttx/config.h>
> > +
> > +#include <stdio.h>
> > +#include <string.h>
> > +#include <errno.h>
> > +#include <version/version.h>
> > +
> > +static char sz_ver_hw_str[] = "hw";
> > +static char sz_ver_git_str[] = "git";
> > +static char sz_ver_date_str[] = "date";
> > +static char sz_ver_gcc_str[] = "gcc";
> > +static char sz_ver_all_str[] = "all";
> > +
>
> I think these should all be const, right?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/PX4/Firmware/pull/868/files#r12023524>.
>