man/wright.1 in wright-0.4.4 vs man/wright.1 in wright-0.5.0
- old
+ new
@@ -1,15 +1,15 @@
'\" t
.\" Title: wright
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\" Date: 06/03/2015
+.\" Date: 09/20/2015
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "WRIGHT" "1" "06/03/2015" "\ \&" "\ \&"
+.TH "WRIGHT" "1" "09/20/2015" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
@@ -92,11 +92,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-wright \-e \*(Aquser("foobard") { |u| u\&.system = true }\*(Aq
+wright \-e \*(Aquser "foobard", system: true\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -104,11 +104,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-wright \-e \*(Aqgroup("foobard") { |u| u\&.system = true }\*(Aq
+wright \-e \*(Aqgroup "foobard", system: true\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -116,11 +116,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-wright \-e \*(Aqfile("/etc/issue") { |f| f\&.content = Wright::VERSION }\*(Aq
+wright \-e \*(Aqfile "/etc/issue", content: Wright::VERSION\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -140,11 +140,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-wright \-e \*(Aqsymlink("~/\&.bash_profile") { |s| s\&.to = "~/\&.profile" }\*(Aq
+wright \-e \*(Aqsymlink "~/\&.bash_profile", to: "~/\&.profile"\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -154,18 +154,17 @@
.RS 4
.\}
.nf
package \*(Aqtmux\*(Aq
-file \*(Aq/etc/tmux\&.conf\*(Aq do |f|
- f\&.content = <<EOF
+file \*(Aq/etc/tmux\&.conf\*(Aq,
+ mode: \*(Aq444\*(Aq,
+ on_update: \-> { puts \*(AqUpdated /etc/tmux\&.conf\*(Aq },
+ content: <<EOF
unbind C\-b
set \-g prefix C\-a
bind\-key a send\-prefix
EOF
- f\&.mode = \*(Aq444\*(Aq
- f\&.on_update = \-> { puts \*(AqUpdated /etc/tmux\&.conf\*(Aq }
-end
.fi
.if n \{\
.RE
.\}
.sp