[ClusterLabs] Antw: [EXT] Re: Q: crm shell's "vrify" command

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Jul 22 04:40:33 EDT 2021


>>> Xin Liang via Users <users at clusterlabs.org> schrieb am 22.07.2021 um 10:22
in
Nachricht
<HE1PR04MB32097383B709D507F883959EB0E49 at HE1PR04MB3209.eurprd04.prod.outlook.com>

> Is that a feature (silent spell correction) that I'm unaware of?
> Yes, like `crm conf` will be `crm configure`, or `crm confgure`

OK, I read the manual page again, but it's a bit vague about that. I was aware
of completions, aliases and shortcuts, but not about spell-corrections.
What if there were some additional output like ``INFO: "vrify" accepted as
"verify"'' (or "... corrected to ...")?
I mean crm complains loudly when I use "exit" instead of "quit" (WARNING: This
command 'exit' is deprecated, please use 'quit'),
but it doesn't indicate when a command is mis-typed.

Regards,
Ulrich



> ________________________________
> From: Users <users‑bounces at clusterlabs.org> on behalf of Ulrich Windl 
> <Ulrich.Windl at rz.uni‑regensburg.de>
> Sent: Thursday, July 22, 2021 3:24 PM
> To: users at clusterlabs.org <users at clusterlabs.org>
> Subject: [ClusterLabs] Q: crm shell's "vrify" command
> 
> Hi!
> 
> I was surprised about the "vrify" command in 
> crmsh‑4.3.1+20210702.4e0ee8fb‑5.59.1.noarch of SLES 15 SP2:
> I mistyped the command, but surprisingly it was accepted:
> 
> crm(live/h16)configure# edit prm_xen_rksapv09
> crm(live/h16)configure# vrify
> crm(live/h16)configure# verify
> crm(live/h16)configure# vxs
> ERROR: configure.vxs: No such command
> 
> 
> It seems to be a valid command:
> crm(live/h16)configure# help vrify
> Verify the CIB with crm_verify
> 
> Verify the contents of the CIB which would be committed.
> 
> Usage:
> 
> verify
> ‑‑‑
> 
> Is that a feature (silent spell correction) that I'm unaware of?
> 
> Regards,
> Ulrich
> 
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> 
> ClusterLabs home: https://www.clusterlabs.org/ 





More information about the Users mailing list