Ticket Change Details
Not logged in
Overview

Artifact ID: 86859cb8316343874652511b56b6d288185f3b5b
Ticket: c3d668ad5286f0e780b47c54449314beea5edca2
"clean" command has an option --all, but documentation says it's --force
User & Date: anonymous 2009-10-11 18:51:15
Changes

  1. comment changed to:
    Either documentation or code is wrong about the "clean" command option to disable prompt before removing files.
    
    Documentation says:
    <pre>
    $ fossil help clean
    Usage: fossil clean ?--force? ?--dotfiles?
    ...
    You will be prompted before removing each file. If you are
    sure you wish to remove all "extra" files you can specify the
    optional --force flag and no prmpts will be issued.
    </pre>
    
    However, --force doesn't work (Fossil asks before removing files). Code in <code>checkin.c</code> ([2e4a6e1c0f]) says it wants "--all" option:
    
    <pre>
      allFlag = find_option("all","a",0)!=0;
    </pre>
    
    And "--all" option actually works.
    
    So either code or documentation needs to be updated.
    
  2. foundin changed to: "b99aa66d1f"
  3. private_contact changed to: "05f652db744266759b20d248ec2f451629420388"
  4. status changed to: "Open"
  5. title changed to:
    "clean" command has an option --all, but documentation says it's --force
    
  6. type changed to: "Documentation"