Skip to content

Commit 4f60b21

Browse files
author
Kevin Paulisse
committed
Add deprecation notice to the old file
1 parent c58a0d5 commit 4f60b21

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

doc/optionsref.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,8 @@ cached directory). (<a href="../lib/octocatalog-diff/cli/options/safe_to_delete_
10361036
<td valign=top>
10371037
If enabled, this option will suppress changes to certain attributes of a file, if the
10381038
file is specified to be 'absent' in the target catalog. Suppressed changes in this case
1039-
include user, group, mode, and content, because a removed file has none of those. (<a href="../lib/octocatalog-diff/cli/options/suppress_absent_file_details.rb">suppress_absent_file_details.rb</a>)
1039+
include user, group, mode, and content, because a removed file has none of those.
1040+
<i>This option is DEPRECATED; please use <code>--filters AbsentFile</code> instead.</i> (<a href="../lib/octocatalog-diff/cli/options/suppress_absent_file_details.rb">suppress_absent_file_details.rb</a>)
10401041
</td>
10411042
</tr>
10421043

lib/octocatalog-diff/cli/options/suppress_absent_file_details.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# If enabled, this option will suppress changes to certain attributes of a file, if the
44
# file is specified to be 'absent' in the target catalog. Suppressed changes in this case
55
# include user, group, mode, and content, because a removed file has none of those.
6+
# <i>This option is DEPRECATED; please use <code>--filters AbsentFile</code> instead.</i>
67
# @param parser [OptionParser object] The OptionParser argument
78
# @param options [Hash] Options hash being constructed; this is modified in this method.
89
OctocatalogDiff::Cli::Options::Option.newoption(:suppress_absent_file_details) do

0 commit comments

Comments
 (0)