<div dir="ltr"><div>That's caused by us using the same functions to handle both config and profiles, avoiding code duplication.</div><div>The downside was that the Examples text was also shared.</div><div><br></div><div>I've sent a PR which duplicates the text with the right name: <a href="https://github.com/lxc/lxd/pull/6349">https://github.com/lxc/lxd/pull/6349</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 24, 2019 at 8:30 AM Harald Dunkel <<a href="mailto:harald.dunkel@aixigo.com">harald.dunkel@aixigo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi folks,<br>
<br>
this looks weird:<br>
<br>
<br>
# lxc profile device add --help<br>
Description:<br>
   Add devices to containers or profiles<br>
<br>
Usage:<br>
   lxc profile device add [<remote>:]<container|profile> <device> <type> [key=value...] [flags]<br>
<br>
Examples:<br>
   lxc config device add [<remote>:]container1 <device-name> disk source=/share/c1 path=opt<br>
       Will mount the host's /share/c1 onto /opt in the container.<br>
:<br>
:<br>
<br>
<br>
Note the "lxc config" instead of "lxc profile". Probably copy&paste<br>
and then forgotten.<br>
<br>
lxd is version 3.18<br>
<br>
<br>
Regards<br>
Harri<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Stéphane</div>