diff --git a/ChangeLog b/ChangeLog
index 675b6c4d0dfde2284c5f3350a6ab250a00a1dd9e..a61e0e2bb667dabafe9e1f4ca7344e528110e407 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -69,6 +69,8 @@ CVS code -
 	  preserve them across multiple file buffers.  Changes to
 	  read_file(), add_open_file(), and load_open_file().  (DLR,
 	  suggested by Bill Soudan)
+	- Remove the -D/--dos and -M/--mac command line options, as they
+	  aren't much use with the new file format autodetection. (DLR)
 - files.c:
   do_insertfile()
 	- Readd the NANO_SMALL #ifdef around the start_again: label to
diff --git a/src/nano.c b/src/nano.c
index f42e4aba01df01d081b426af1c6272a5091d41a4..b59eb664b16cfb66e024fbceec1cc40beeb38d68 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -667,7 +667,6 @@ void usage(void)
 #ifndef NANO_SMALL
     print1opt("-A", "--smarthome", N_("Enable smart home key"));
     print1opt("-B", "--backup", N_("Backup existing files on save"));
-    print1opt("-D", "--dos", N_("Write file in DOS format"));
     print1opt(_("-E [dir]"), _("--backupdir=[dir]"), N_("Directory for writing backup files"));
 #endif
 #ifdef ENABLE_MULTIBUFFER
@@ -680,7 +679,6 @@ void usage(void)
     print1opt("-I", "--ignorercfiles", N_("Don't look at nanorc files"));
 #endif
 #ifndef NANO_SMALL
-    print1opt("-M", "--mac", N_("Write file in Mac format"));
     print1opt("-N", "--noconvert", N_("Don't convert files from DOS/Mac format"));
 #endif
 #ifndef DISABLE_JUSTIFY
@@ -3048,9 +3046,7 @@ int main(int argc, char **argv)
 #ifndef NANO_SMALL
 	{"smarthome", 0, 0, 'A'},
 	{"backup", 0, 0, 'B'},
-	{"dos", 0, 0, 'D'},
 	{"backupdir", 1, 0, 'E'},
-	{"mac", 0, 0, 'M'},
 	{"noconvert", 0, 0, 'N'},
 	{"smooth", 0, 0, 'S'},
 	{"restricted", 0, 0, 'Z'},
@@ -3076,9 +3072,9 @@ int main(int argc, char **argv)
 
     while ((optchr =
 #ifdef HAVE_GETOPT_LONG
-	getopt_long(argc, argv, "h?ABDE:FHIMNQ:RST:VY:Zabcdefgijklmo:pr:s:tvwxz", long_options, NULL)
+	getopt_long(argc, argv, "h?ABE:FHINQ:RST:VY:Zabcdefgijklmo:pr:s:tvwxz", long_options, NULL)
 #else
-	getopt(argc, argv, "h?ABDE:FHIMNQ:RST:VY:Zabcdefgijklmo:pr:s:tvwxz")
+	getopt(argc, argv, "h?ABE:FHINQ:RST:VY:Zabcdefgijklmo:pr:s:tvwxz")
 #endif
 		) != -1) {
 
@@ -3098,9 +3094,6 @@ int main(int argc, char **argv)
 	    case 'B':
 		SET(BACKUP_FILE);
 		break;
-	    case 'D':
-		SET(DOS_FILE);
-		break;
 	    case 'E':
 		backup_dir = mallocstrcpy(backup_dir, optarg);
 		break;
@@ -3121,9 +3114,6 @@ int main(int argc, char **argv)
 		break;
 #endif
 #ifndef NANO_SMALL
-	    case 'M':
-		SET(MAC_FILE);
-		break;
 	    case 'N':
 		SET(NO_CONVERT);
 		break;