aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <info@zweizeichen.org>2017-01-28 10:26:39 +0100
committerGitHub <noreply@github.com>2017-01-28 10:26:39 +0100
commit4660afd75e9f684dd589a857a0103814952560b0 (patch)
tree5007e6a84df480be216015e74f56776092afc17a
parentMerge pull request #642 from josharian/fix629 (diff)
downloaddedo-4660afd75e9f684dd589a857a0103814952560b0.tar.gz
dedo-4660afd75e9f684dd589a857a0103814952560b0.tar.xz
hexidecimal -> hexadecimal
Small spelling fix :)
-rw-r--r--cmd/bolt/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/bolt/main.go b/cmd/bolt/main.go
index 29e393f..057eca5 100644
--- a/cmd/bolt/main.go
+++ b/cmd/bolt/main.go
@@ -359,7 +359,7 @@ func (cmd *DumpCommand) Run(args ...string) error {
return nil
}
-// PrintPage prints a given page as hexidecimal.
+// PrintPage prints a given page as hexadecimal.
func (cmd *DumpCommand) PrintPage(w io.Writer, r io.ReaderAt, pageID int, pageSize int) error {
const bytesPerLineN = 16
@@ -409,7 +409,7 @@ func (cmd *DumpCommand) Usage() string {
return strings.TrimLeft(`
usage: bolt dump -page PAGEID PATH
-Dump prints a hexidecimal dump of a single page.
+Dump prints a hexadecimal dump of a single page.
`, "\n")
}
@@ -596,7 +596,7 @@ func (cmd *PageCommand) PrintFreelist(w io.Writer, buf []byte) error {
return nil
}
-// PrintPage prints a given page as hexidecimal.
+// PrintPage prints a given page as hexadecimal.
func (cmd *PageCommand) PrintPage(w io.Writer, r io.ReaderAt, pageID int, pageSize int) error {
const bytesPerLineN = 16