[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 10/11] doc: grammify "allows to"
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 10/11] doc: grammify "allows to" |
Date: |
Tue, 8 Apr 2014 11:04:10 +0400 |
English language grammar does not allow usage
of the word "allows" directly followed by an
infinitive, declaring constructs like "something
allows to do somestuff" un-grammatical. Often
it is possible to just insert "one" between "allows"
and "to" to make the construct grammatical, but
usually it is better to re-phrase the statement.
This patch tries to fix 3 examples of "allows to"
usage in qemu doc, but does not address comments
in the code with similar constructs. It also adds
missing "the" in the same line.
Signed-off-by: Michael Tokarev <address@hidden>
---
qemu-doc.texi | 2 +-
qemu-options.hx | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index e6e20eb..88ec9bb 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -823,7 +823,7 @@ In this case, the block device must be exported using
qemu-nbd:
qemu-nbd --socket=/tmp/my_socket my_disk.qcow2
@end example
-The use of qemu-nbd allows to share a disk between several guests:
+The use of qemu-nbd allows sharing of a disk between several guests:
@example
qemu-nbd --socket=/tmp/my_socket --share=2 my_disk.qcow2
@end example
diff --git a/qemu-options.hx b/qemu-options.hx
index 2d33815..3a7cc8f 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -444,7 +444,8 @@ This option defines the type of the media: disk or cdrom.
@item address@hidden,address@hidden,address@hidden,address@hidden
These options have the same definition as they have in @option{-hdachs}.
@item address@hidden
address@hidden is "on" or "off" and allows to enable snapshot for given drive
(see @option{-snapshot}).
address@hidden is "on" or "off" and controls snapshot mode for the given drive
+(see @option{-snapshot}).
@item address@hidden
@var{cache} is "none", "writeback", "unsafe", "directsync" or "writethrough"
and controls how the host cache is used to access block data.
@item address@hidden
@@ -1242,7 +1243,7 @@ Disable adaptive encodings. Adaptive encodings are
enabled by default.
An adaptive encoding will try to detect frequently updated screen regions,
and send updates in these regions using a lossy encoding (like JPEG).
This can be really helpful to save bandwidth when playing videos. Disabling
-adaptive encodings allows to restore the original static behavior of encodings
+adaptive encodings restores the original static behavior of encodings
like Tight.
@item share=[allow-exclusive|force-shared|ignore]
--
1.7.10.4
- [Qemu-devel] [PULL 04/11] net: Report error when device / hub combo is not found., (continued)
- [Qemu-devel] [PULL 04/11] net: Report error when device / hub combo is not found., Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 02/11] qga: trivial fix for unclear documentation of guest-set-time, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 01/11] vl: Report accelerator not supported for target more nicely, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 07/11] xbzrle.c: Avoid undefined behaviour with signed arithmetic, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 06/11] int128.h: Avoid undefined behaviours involving signed arithmetic, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 03/11] configure: Fix indentation of help for --enable/disable-debug-info, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 09/11] configure: Remove redundant message for -Werror, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 11/11] Fix grammar in comment, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 08/11] scripts: add sample model file for Coverity Scan, Michael Tokarev, 2014/04/08
- [Qemu-devel] [PULL 10/11] doc: grammify "allows to",
Michael Tokarev <=
- Re: [Qemu-devel] [PULL for-2.0 00/11] Trivial patches for 2014-04-08, Peter Maydell, 2014/04/08