diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2015-07-21 22:57:27 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2015-07-21 22:57:27 +0000 |
commit | 300ca9a86e0642c9f9285ace20fbb7f4d2695ba8 (patch) | |
tree | 50b34deb0ada9be639c3001fb8ac0499a39695a8 /usr.bin/patch/backupfile.c | |
parent | e637a6e3f940ad35e82ea0d8183a677697557802 (diff) | |
download | src-300ca9a86e0642c9f9285ace20fbb7f4d2695ba8.tar.gz src-300ca9a86e0642c9f9285ace20fbb7f4d2695ba8.zip |
patch(1): Add -Vnone option to disable backup files
Differential Revision: https://reviews.freebsd.org/D3146
Reviewed by: pfg
Approved by: markj (mentor)
MFC after: 1 week
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=285772
Diffstat (limited to 'usr.bin/patch/backupfile.c')
-rw-r--r-- | usr.bin/patch/backupfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/backupfile.c b/usr.bin/patch/backupfile.c index d22d607ccc4f..ecdca19e2a71 100644 --- a/usr.bin/patch/backupfile.c +++ b/usr.bin/patch/backupfile.c @@ -219,11 +219,11 @@ invalid_arg(const char *kind, const char *value, int problem) } static const char *backup_args[] = { - "never", "simple", "nil", "existing", "t", "numbered", 0 + "none", "never", "simple", "nil", "existing", "t", "numbered", 0 }; static enum backup_type backup_types[] = { - simple, simple, numbered_existing, + none, simple, simple, numbered_existing, numbered_existing, numbered, numbered }; |