diff --git a/gap/AutoDocMainFunction.gd b/gap/AutoDocMainFunction.gd
index ae6ad5a8..cbf1cc6b 100644
--- a/gap/AutoDocMainFunction.gd
+++ b/gap/AutoDocMainFunction.gd
@@ -51,9 +51,11 @@ DeclareGlobalFunction( "ExtractTitleInfoFromPackageInfo" );
#! The purpose of this function is to create stand-alone PDF and HTML files
#! using &AutoDoc; without associating them with a package.
#!
-#! It uses the same optional record entries as , but
-#! instead of a package name, you pass one filename or a list of filenames
-#! containing &AutoDoc; text from which the document is created.
+#! Instead of a package directory, you pass one filename or a list of
+#! filenames containing &AutoDoc; text from which the document is created.
+#! Settings are supplied via an optional record using the same entries as
+#! the optrec argument of . Alternatively, you may
+#! omit filenames and specify the files via optrec.autodoc.files.
#!
#! A simple worksheet file can define title-page information and chapter
#! content directly in the source file, including example blocks.
@@ -65,5 +67,11 @@ DeclareGlobalFunction( "ExtractTitleInfoFromPackageInfo" );
#!
#! Since worksheets do not have a PackageInfo.g, title-page fields are
#! specified directly in the worksheet file.
-#! @Arguments list_of_filenames : options
+#!
+#! For backwards compatibility, worksheet calls still accept GAP global
+#! options for specifying the option-record entries such as
+#! dir, scaffold, autodoc, gapdoc, and
+#! extract_examples.
+#! However, this feature is deprecated.
+#! @Arguments [filenames,] [optrec]
DeclareGlobalFunction( "AutoDocWorksheet" );
diff --git a/tst/manual.expected/_Chapter_Reference.xml b/tst/manual.expected/_Chapter_Reference.xml
index 9faf6370..71c14bc5 100644
--- a/tst/manual.expected/_Chapter_Reference.xml
+++ b/tst/manual.expected/_Chapter_Reference.xml
@@ -8,14 +8,16 @@
AutoDoc worksheets
-
+
The purpose of this function is to create stand-alone PDF and HTML files
using &AutoDoc; without associating them with a package.
- It uses the same optional record entries as , but
- instead of a package name, you pass one filename or a list of filenames
- containing &AutoDoc; text from which the document is created.
+ Instead of a package directory, you pass one filename or a list of
+ filenames containing &AutoDoc; text from which the document is created.
+ Settings are supplied via an optional record using the same entries as
+ the optrec argument of . Alternatively, you may
+ omit filenames and specify the files via optrec.autodoc.files.
A simple worksheet file can define title-page information and chapter
content directly in the source file, including example blocks.
@@ -28,6 +30,12 @@
Since worksheets do not have a PackageInfo.g, title-page fields are
specified directly in the worksheet file.
+
+ For backwards compatibility, worksheet calls still accept GAP global
+ options for specifying the option-record entries such as
+ dir, scaffold, autodoc, gapdoc, and
+ extract_examples.
+ However, this feature is deprecated.