Skip to content

Commit a7dd676

Browse files
committed
Fix: Update flags comment to include all available flags
Added missing flags to the NewFileReferencesCommand comment: - --summary - --include-toctree - --exclude These flags were added during improvements but the comment wasn't updated.
1 parent 285170f commit a7dd676

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

audit-cli/commands/analyze/file-references/file_references.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ import (
3333
// - -v, --verbose: Show detailed information including line numbers
3434
// - -c, --count-only: Only show the count of references
3535
// - --paths-only: Only show the file paths
36+
// - --summary: Only show summary statistics (total files and references by type)
3637
// - -t, --directive-type: Filter by directive type (include, literalinclude, io-code-block, toctree)
38+
// - --include-toctree: Include toctree entries (navigation links) in addition to content inclusion directives
39+
// - --exclude: Exclude paths matching this glob pattern (e.g., '*/archive/*')
3740
func NewFileReferencesCommand() *cobra.Command {
3841
var (
3942
format string

0 commit comments

Comments
 (0)