Skip to content

Commit

Permalink
usb: Fix some doc grammar
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Figuière <[email protected]>
  • Loading branch information
hfiguiere committed Mar 18, 2024
1 parent 192bb26 commit 4b791dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions common/flatpak-context-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ typedef enum {
FLATPAK_CONTEXT_DEVICE_KVM = 1 << 2,
FLATPAK_CONTEXT_DEVICE_SHM = 1 << 3,
FLATPAK_CONTEXT_DEVICE_INPUT = 1 << 4,
FLATPAK_CONTEXT_DEVICE_USB = 1 << 5,
} FlatpakContextDevices;

typedef enum {
Expand Down
1 change: 1 addition & 0 deletions common/flatpak-context.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const char *flatpak_context_devices[] = {
"kvm",
"shm",
"input",
"usb",
NULL
};

Expand Down
6 changes: 3 additions & 3 deletions doc/flatpak-run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ key=v1;v2;
A device class and subclass query. <arg choice="plain">DATA</arg>
must be in the form of <arg choice="plain">CLASS:SUBCLASS</arg> where
both <arg choice="plain">CLASS</arg> and <arg choice="plain">SUBCLASS</arg>
must valid 2-digit hexadecimal class id numbers. Alternatively,
must be a valid 2-digit hexadecimal class id number. Alternatively,
<arg choice="plain">SUBCLASS</arg> may be <literal>*</literal> to match
all subclasses.
</para></listitem>
Expand All @@ -487,7 +487,7 @@ key=v1;v2;

<listitem><para>
A device product id query. <arg choice="plain">DATA</arg>
must be a valid 4-character hexadecimal product id number
must be a valid 4-digit hexadecimal product id number
greater than zero, for example <option>0a1b</option>. It
requires a <option>vnd</option> filter in the query.
</para></listitem>
Expand All @@ -498,7 +498,7 @@ key=v1;v2;

<listitem><para>
A device vendor id query. <arg choice="plain">DATA</arg>
must be a valid 4-character hexadecimal vendor id number
must be a valid 4-digit hexadecimal vendor id number
greater than zero, for example <option>0fab</option>.
</para></listitem>
</varlistentry>
Expand Down

0 comments on commit 4b791dd

Please sign in to comment.