aboutsummaryrefslogtreecommitdiffstats
path: root/ck.1
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-13 13:22:53 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-13 13:22:53 +0200
commit6a43f7bfdfdb693e877943490abd5839a630ad9d (patch)
tree35c48a0acf80e6288aef952f93caac3195ba55ec /ck.1
parentd015a5e66ac9b92bba4eb5020e7bf2384f65ed25 (diff)
downloadck-6a43f7bfdfdb693e877943490abd5839a630ad9d.tar.gz
ck-6a43f7bfdfdb693e877943490abd5839a630ad9d.tar.bz2
ck-6a43f7bfdfdb693e877943490abd5839a630ad9d.zip
Fixed homedir with restore and updated delete
Diffstat (limited to 'ck.1')
-rw-r--r--ck.132
1 files changed, 13 insertions, 19 deletions
diff --git a/ck.1 b/ck.1
index 9c5599e..d120757 100644
--- a/ck.1
+++ b/ck.1
@@ -25,12 +25,9 @@ ck \- manage configuration across the system
.YS
\" Delete
.SY ck
-.BI delete \ PROGRAM_NAME
-.YS
-.ns
-.SY ck
-.B delete \-c
-.I CONFIG_PATH
+.B delete
+.I PROGRAM_NAME
+.RI [ CONFIG_BASENAME ]
.YS
\" List
.SY ck
@@ -342,12 +339,9 @@ to handle it.
.ns
.RS 2
.SY ck
-.BI delete \ PROGRAM_NAME
-.YS
-.ns
-.SY ck
-.B delete \-c
-.I CONFIG_PATH
+.B delete
+.I PROGRAM_NAME
+.RI [ CONFIG_BASENAME ]
.YS
.RE
.TP 2
@@ -364,17 +358,17 @@ Delete the
and all it's
.BR configs .
.TP 21
-.BI \-c \ CONFIG_PATH
-Delete the
-.BR config .
-This has to be the full path of the link as shown by the
-.B list action\fR.
+.I CONFIG_BASENAME
+The basename of the
+.B config
+file to be deleted. It has to follow the
+.IR PROGRAM_NAME .
.RE
.TP 2
.B EXAMPLES
.EX
$ ck delete emacs
-$ ck del -c /home/ckuser/.emacs.d/init.el
+$ ck del emacs init.el
.EE
.SS "LIST VALUES"
List programs, configs and ck configuration values.
@@ -554,7 +548,7 @@ one, no further action is required.
The basename of the
.B config
to be edited. This has to follow the
-.B program
+.I PROGRAM_NAME
name. It is only needed when editing a
.B config
other than the