aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manuals/ponysay.texinfo5
-rwxr-xr-xsetup.py4
2 files changed, 6 insertions, 3 deletions
diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo
index 7e04ecf..2effc8b 100644
--- a/manuals/ponysay.texinfo
+++ b/manuals/ponysay.texinfo
@@ -1013,13 +1013,16 @@ Set the system's directory for cache directories.
@cindex @option{--dest-dir}
Set off environment for installation.
-@item --linking=hard
+@item --linking=symbolic
@cindex @option{--linking}
Set how to link identical files. Directories cannot be hard linked on most
systems, therefore directories or always symbolically linked of hard linked
is specified.
Recognised arguments are @code{copy}, @code{hard} and @code{symbolic}.
@code{copy} implies that files and directories are not linked, but duplicated.
+@command{ponysay ±L} will give the same output as @command{ponysay ±l} if @code{copy}
+or @code{hard} is used. This is because it does link reading and not content or
+inode comparison.
@end table
Recognised compressions are @option{gz} which uses @option{gzip -9}, and @option{xz}
diff --git a/setup.py b/setup.py
index a51d848..c511e44 100755
--- a/setup.py
+++ b/setup.py
@@ -126,13 +126,13 @@ class Setup():
opts.add_argumented (help = 'Set off environment for installation\nEmpty by default', alternatives = ['--dest-dir'], arg='DESTDIR')
- opts.add_argumented (help = 'Set how to link identical files\nDefault = hard, copy and symbolic are also recognised', alternatives = ['--linking'], arg='TYPE')
+ opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised', alternatives = ['--linking'], arg='TYPE')
opts.parse()
- self.linking = HARD
+ self.linking = SYMBOLIC
if opts.opts['--linking'] is not None:
self.linking = opts.opts['--linking'][0]