Skip to content

Commit

Permalink
Document mia-games.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Jun 26, 2024
1 parent 673251d commit 6ee43be
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/ckmamerc.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.Dd June 16, 2023
.Dd June 26, 2024
.Dt CKMAMERC 5
.Os
.Sh NAME
Expand Down Expand Up @@ -188,6 +188,8 @@ but does not override the previous value, but appends to it instead.
String.
.It keep-old-duplicates
Boolean.
.It mia-games
String.
.It missing-list
String.
.It move-from-extra
Expand Down
8 changes: 7 additions & 1 deletion docs/mkmamedb.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.Dd March 25, 2022
.Dd June 26, 2024
.Dt MKMAMEDB 1
.Os
.Sh NAME
Expand All @@ -50,6 +50,7 @@
.Op Fl Fl list\-available\-dats
.Op Fl Fl list\-dats
.Op Fl Fl list\-sets
.Op Fl Fl mia\-games
.Op Fl Fl no\-directory\-cache
.Op Fl Fl only\-files Ar pattern
.Op Fl Fl output Ar dbfile
Expand Down Expand Up @@ -193,6 +194,11 @@ List the names of all dats found in the configured dat directories.
List dats configured for the selected set.
.It Fl Fl list\-sets
List all configured sets.
.It Fl Fl mia\-games Ar file
Mark ROMs from games listed in
.Ar file
as mia, except if their name matches
.Dq delete-unknown-pattern .
.It Fl Fl only\-files Ar pattern
When reading files from the file system as input,
only accept files matching the shell glob
Expand Down
14 changes: 14 additions & 0 deletions regress/mkmamedb-config-mia-games.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description test mkmamedb database creation, ok
return 0
program mkmamedb
arguments mamedb.dat
file .ckmamerc <inline>
[global]
delete-unknown-pattern = "04*"
mia-games = "mia-games"
end-of-inline-data
file mia-games <inline>
2-4c
end-of-inline-data
file mamedb.dat mamedb-one-game-two-roms.dat
file mame.db {} mamedb-mia-games.dump

0 comments on commit 6ee43be

Please sign in to comment.