[OpenAFS] 'vos examine', 'Last update' and date format
Derrick J Brashear
shadow@dementia.org
Thu, 28 Aug 2003 02:33:08 -0400 (EDT)
On Thu, 28 Aug 2003, Turbo Fredriksson wrote:
> >>>>> "Derrick" == Derrick J Brashear <shadow@dementia.org> writes:
>
> Derrick> On Wed, 27 Aug 2003, Neulinger, Nathan wrote:
> >> It's already there. Might not be in 1.2.x though.
> >>
> >> infinity(36)>vos e users.nneul -format
>
> Derrick> it's old, actually, i think it came from ibm. maybe
> Derrick> not.
>
> It's not in 1.2
>
> [papadoc.pts/4]$ vos examine user.turbo -format
> vos: Unrecognized or ambiguous switch '-format'; type 'vos help examine' for detailed help
No, I promise you, the code is there.
But, I guess I forgot to mention this:
--enable-full-vos-listvol-switch enable vos full listvol switch for
formatted output
...
ts = cmd_CreateSyntax("examine", ExamineVolume, 0, "everything about
the vol
ume");
cmd_AddParm(ts, "-id", CMD_SINGLE, 0, "volume name or ID");
cmd_AddParm(ts, "-extended", CMD_FLAG, CMD_OPTIONAL,
"list extended volume fields");
#ifdef FULL_LISTVOL_SWITCH
cmd_AddParm(ts, "-format", CMD_FLAG, CMD_OPTIONAL,
"machine readable format");
#endif /* FULL_LISTVOL_SWITCH */
COMMONPARMS;
cmd_CreateAlias (ts, "volinfo");