diff --git a/doc/Factoids.md b/doc/Factoids.md index b8786be6..2f313eef 100644 --- a/doc/Factoids.md +++ b/doc/Factoids.md @@ -34,6 +34,7 @@ * [Channel namespaces](#channel-namespaces) * [Adding/removing factoids](#addingremoving-factoids) * [factadd](#factadd) + * [factcopy](#factcopy) * [factrem](#factrem) * [forget](#forget) * [factalias](#factalias) @@ -505,6 +506,13 @@ To add a factoid to the global channel, use `global` as the channel parameter. To force overwriting an existing factoid, use the `-f` option. +### factcopy +To copy a factoid to a different name or channel, use the `factcopy` command: + +Usage: `factcopy [target factoid]` + +If three arguments are given, the factoid is copied in the source channel. If four arguments are given, the factoid is copied to the target channel with the target name. + ### factrem ### forget diff --git a/doc/README.md b/doc/README.md index 682a322f..f6823c47 100644 --- a/doc/README.md +++ b/doc/README.md @@ -206,6 +206,7 @@ * [Channel namespaces](Factoids.md#channel-namespaces) * [Adding/removing factoids](Factoids.md#addingremoving-factoids) * [factadd](Factoids.md#factadd) + * [factcopy](Factoids.md#factcopy) * [factrem](Factoids.md#factrem) * [forget](Factoids.md#forget) * [factalias](Factoids.md#factalias)