[docutils:feature-requests] #36 option for disallowing file overwrites

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/36/a05df88b13f8b52c2780b8466d31a4446b3f1781.feature-requests@docutils.p.sourceforge.net>
Proposal:

       - <toolname> [options] [<source> [<destination>]] 
       + <toolname> [options] source [source2 [source3 [...]]]

Announce upcoming  changes in Docutils 0.19
   
  * new option ``--output=destination`` in Docutils 0.19
  
  * removal of the short options ``-i`` and ``-o`` in Docutils 1.0
  
  * removal of the second argument `<destination>` in Docutils 2.0

  * accept more than one source document in Docutils 3.0
  
  * short option ``-o`` for ``--output`` in Docutils 3.0     



Attachments:

- [propose-usage-pattern-change.patch](https://sourceforge.net/p/docutils/feature-requests/_discuss/thread/c7e6efb0/0709/attachment/propose-usage-pattern-change.patch) (949 Bytes; text/x-patch)


---

** [feature-requests:#36] option for disallowing file overwrites**

**Status:** pending
**Group:** 
**Created:** Fri Mar 15, 2013 10:43 PM UTC by Jakub Wilk
**Last Updated:** Fri Jul 08, 2022 08:24 AM UTC
**Owner:** nobody


A Debian user complained that if you use a wildcard as input file name, and the wildcard unexpectedly expands to two names, then rst2html will overwrite your files:
http://bugs.debian.org/654690

Would if be possible to add an option for not overwriting output files, that you could add to your configuration file, and later override from command line if needed?



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.