Description: Man page fixes
Author: Shaun Jackman <sjackman@debian.org>
Author: Tobias Frost <tobi@debian.org>
Bug: https://sourceforge.net/p/avarice/patches/30/
Last-Update: 2018-21-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/avarice.1
+++ b/doc/avarice.1
@@ -23,7 +23,6 @@
 
 ..
 .TH avarice 1 "October 15, 2018"
-.LO 1
 .SH NAME
 avarice \- Provides an interface from avr-gdb to Atmel's AVR in-circuit debugging tools
 .SH SYNOPSIS
@@ -300,11 +299,11 @@
 Default is "none,run,target_power_on,target_sleep,target_wakeup"
 .TP
 .BR \-f ,\  \-\-file \ <filename>
-Specify a file for use with the --program and --verify options. If --file is
-passed and neither --program or --verify are given then --program is implied.
+Specify a file for use with the \-\-program and \-\-verify options. If \-\-file is
+passed and neither \-\-program or \-\-verify are given then \-\-program is implied.
 .BR
 .B NOTE:
-deprecated feature, must be enabled using the --enable-target-programming
+deprecated feature, must be enabled using the \-\-enable-target-programming
 configuration option.
 .TP
 .BR \-g ,\  \-\-dragon
@@ -346,10 +345,10 @@
 autodetection.
 .TP
 .BR \-p ,\  \-\-program
-Program the target. Binary filename must be specified with --file option.
+Program the target. Binary filename must be specified with \-\-file option.
 .BR
 .B NOTE:
-deprecated feature, must be enabled using the --enable-target-programming
+deprecated feature, must be enabled using the \-\-enable-target-programming
 configuration option.
 .TP
 .BR \-R ,\  \-\-reset-srst
@@ -363,10 +362,10 @@
 Print version information.
 .TP
 .BR \-v ,\  \-\-verify
-Verify program in device against file specified with --file option.
+Verify program in device against file specified with \-\-file option.
 .BR
 .B NOTE:
-deprecated feature, must be enabled using the --enable-target-programming
+deprecated feature, must be enabled using the \-\-enable-target-programming
 configuration option.
 .TP
 .BR \-w ,\  \-\-debugwire
@@ -398,7 +397,7 @@
 .PP
 :\fIPORT\fR is required to put avarice into gdb server mode.
 .SH EXAMPLE USAGE
-avarice --erase --program --file test.bin --jtag /dev/ttyS0 :4242
+avarice \-\-erase \-\-program \-\-file test.bin \-\-jtag /dev/ttyS0 :4242
 .PP
 Program the file \fItest.bin\fR into the JTAG ICE (mkI) connected to
 /dev/ttyS0 after erasing the device, then listen in GDB mode on the
@@ -406,7 +405,7 @@
 This functionality is deprecated, and no longer configured by default.
 Use GDB's "load" command instead.
 .PP
-avarice --jtag usb:1234 --mkII :4242
+avarice \-\-jtag usb:1234 \-\-mkII :4242
 .PP
 Connect to the JTAG ICE mkII attached to USB which serial number ends
 in \fI1234\fR, and listen in GDB mode on local port 4242.
--- a/doc/ice-gdb.1
+++ b/doc/ice-gdb.1
@@ -1,5 +1,4 @@
 .TH ice-gdb 1 "August 22, 2003"
-.LO 1
 .SH NAME
 ice-gdb \- JTAG ICE frontend for avr-gdb
 .br
@@ -40,7 +39,7 @@
 environment variable. This is typically used to specify the serial port to
 which the JTAG ICE pod is connected by setting
 .B AVARICE_ARGS
-to "-j <serial port name>".
+to "\-j <serial port name>".
 .SH OPTIONS
 .TP
 .B --debugger debugger_command
